webpack.conf.js 300 B

12345678910111213141516
  1. var path = require('path');
  2. module.exports = {
  3. entry: './test/build/index.js',
  4. output: {
  5. path: __dirname + "/build",
  6. filename: "bundle.js",
  7. publicPath: "./build/"
  8. },
  9. bail: true,
  10. module: {
  11. loaders: [
  12. { test: /\.css$/, loader: 'style-loader!css-loader' },
  13. ],
  14. }
  15. }