loaderOptionsPlugin-3.input.js 315 B

1234567891011121314151617
  1. // Don't modify LoaderOptionsPlugin
  2. const ExtractTextPlugin = require('extract-text-webpack-plugin');
  3. module.exports = {
  4. entry: ['./index.js'],
  5. output: {
  6. filename: 'bundle.js'
  7. },
  8. module: {
  9. rules: [{
  10. test: /\.css$/,
  11. use: ExtractTextPlugin.extract([
  12. 'css-loader'
  13. ])
  14. }]
  15. },
  16. }