Advertisement
Guest User

Untitled

a guest
Apr 27th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. const path = require('path');
  2.  
  3. module.exports = {
  4. entry: '.client/App.js',
  5. output: {
  6. path: path.resolve(__dirname, 'dist'),
  7. filename: 'bundle.js',
  8. publicPath: '/assets/'
  9. },
  10. module: {
  11. rules: [
  12. {
  13. test: /\.js$/,
  14. exclude: /node_modules/,
  15. use: {
  16. loader: 'babel-loader',
  17. options: {
  18. presets: ['env']
  19. }
  20. }
  21. }
  22. ]
  23. }
  24. }
  25.  
  26. module.exports = config;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement