Skip to content

Instantly share code, notes, and snippets.

@caoakleyii
Created January 24, 2018 20:34
Show Gist options
  • Save caoakleyii/d72e84f3aa4f1cb40d10bd3cf0554ca2 to your computer and use it in GitHub Desktop.
Save caoakleyii/d72e84f3aa4f1cb40d10bd3cf0554ca2 to your computer and use it in GitHub Desktop.
module.exports = {
entry: './src/main.js',
output: {
path: './dist',
publicPath: 'dist/',
filename: 'build.js'
},
module: {
loaders: [
{
test: /\.js$/,
loader: 'babel',
exclude: /node_modules/
},
{
test: /\.vue$/,
loader: 'vue'
}
]
},
vue: {
loaders: {
js: 'babel'
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment