Advertisement
Guest User

Untitled

a guest
Oct 27th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. module.exports = {
  2. conventions: {
  3. assets: /(^resources\/assets\/static\/)/,
  4. vendor: /(^bower_components|node_modules)\//
  5. },
  6. paths: {
  7. public: 'public/build',
  8. watched: ['resources/assets/js']
  9. },
  10. files: {
  11. javascripts: {
  12. joinTo: {
  13. 'js/app.js': /^resources\/assets\/js/,
  14. 'js/vendor.js': /^node_modules/,
  15. }
  16. }
  17. },
  18. plugins: {
  19. babel: {
  20. presets: ['es2015', 'react'], // 'es2016'?
  21. plugins: ['transform-do-expressions']
  22. }
  23. },
  24. modules: {
  25. nameCleaner: path => path.replace('resources/assets/js/', '')
  26. }
  27. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement