Skip to content

Instantly share code, notes, and snippets.

@vedovelli
Created January 10, 2016 18:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vedovelli/811bd285715da29c54ce to your computer and use it in GitHub Desktop.
Save vedovelli/811bd285715da29c54ce to your computer and use it in GitHub Desktop.
webpack config for screencast components
module.exports = {
// entry point of our application
entry: './main.js',
// where to place the compiled bundle
output: {
path: __dirname,
filename: 'build.js'
},
module: {
// `loaders` is an array of loaders to use.
// here we are only configuring vue-loader
loaders: [
{
test: /\.vue$/, // a regex for matching all files that end in `.vue`
loader: 'vue' // loader to use for matched files
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment