Advertisement
Guest User

Untitled

a guest
Jun 15th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. const path = require('path');
  2.  
  3. const config = {
  4. entry:['./util.js','./index.js'],
  5. output: {
  6. path: path.resolve(__dirname, 'public'),
  7. filename: '[name].bundle.js',
  8. chunkFilename: '[name].chunk.js'
  9. },
  10. module: {
  11. rules: [
  12. { test: /.js$/, exclude:/node_modules/ }
  13. ]
  14. }
  15. };
  16.  
  17. module.exports = config;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement