Guest User

Untitled

a guest
Jun 21st, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. addChild
  2. webpack:///./node_modules/pixi.js/lib/core/display/Container.js?:94:13
  3. <anonymous>
  4. webpack:///./src/index.js?:10:1
  5. ./src/index.js
  6. http://localhost:9000/salmon.min.js:2786:1
  7. __webpack_require__
  8. http://localhost:9000/salmon.min.js:20:12
  9. <anonymous>
  10. webpack:///multi_(webpack)-dev-server/client?:2:18
  11. [0]
  12. http://localhost:9000/salmon.min.js:2797:1
  13. __webpack_require__
  14. http://localhost:9000/salmon.min.js:20:12
  15. <anonymous>
  16. http://localhost:9000/salmon.min.js:84:18
  17. <anonymous>
  18. http://localhost:9000/salmon.min.js:1:11
  19.  
  20. const path = require('path');
  21. const HtmlWebpackPlugin = require('html-webpack-plugin');
  22. var webpack = require('webpack');
  23.  
  24. module.exports = {
  25. entry: './src/index.js',
  26. mode:"development",
  27. output: {
  28. path: path.resolve(__dirname, 'dist'),
  29. filename: 'salmon.min.js'
  30. },
  31. plugins: [
  32. new HtmlWebpackPlugin({template: './index.html'}),
  33. new webpack.NamedModulesPlugin(),
  34. ],
  35. devServer:{
  36. port: 9000,
  37. compress: true
  38. },
  39. module: {
  40. rules: [
  41. {
  42. test: /.js$/,
  43. use: ["source-map-loader"],
  44. enforce: "pre"
  45. }
  46. ]
  47. }
  48. };
Add Comment
Please, Sign In to add comment