webpack.conf.js 322 B

12345678910111213141516171819
  1. module.exports = {
  2. entry: './build/index.js',
  3. output: {
  4. path: __dirname + "/build",
  5. filename: "bundle.js",
  6. publicPath: "./build/"
  7. },
  8. node: {
  9. fs: "empty"
  10. },
  11. bail: true,
  12. devtool: 'source-map',
  13. module: {
  14. loaders: [
  15. { test: /\.css$/, loader: 'style-loader!css-loader' },
  16. ]
  17. }
  18. }