Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. 'use strict';
  2. const {VueLoaderPlugin} = require('vue-loader');
  3. const path = require('path');
  4. module.exports = [{
  5. entry: ['./app/main.js'],
  6. mode: 'development',
  7. // watch: true,
  8. module: {
  9. rules: [{
  10. test: /\.vue$/,
  11. use: 'vue-loader'
  12. }]
  13. },
  14. resolve: {
  15. alias: {
  16. vue: 'vue/dist/vue.js'
  17. }
  18. },
  19. plugins: [
  20. new VueLoaderPlugin()
  21. ],
  22. output: {
  23. path: path.join(__dirname, '/../'),
  24. filename: 'bundle.js'
  25. }
  26. }];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement