Skip to content

Instantly share code, notes, and snippets.

@stefanledin
Created February 16, 2018 21:25
Show Gist options
  • Select an option

  • Save stefanledin/ba35f6545aaa33ebbaef49030bce0c2c to your computer and use it in GitHub Desktop.

Select an option

Save stefanledin/ba35f6545aaa33ebbaef49030bce0c2c to your computer and use it in GitHub Desktop.
const path = require('path');
module.exports = {
entry: './resources/js/app.js',
output: {
filename: './public/javascripts/bundle.js',
},
resolve: {
alias: {
'vue$': 'vue/dist/vue.esm.js'
},
extensions: ['*', '.js', '.vue', '.json']
},
module: {
rules: [
{
test: /\.vue$/,
loader: 'vue-loader'
}
]
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment