Skip to content

Instantly share code, notes, and snippets.

@RedHatter
Created August 10, 2017 21:27
Show Gist options
  • Save RedHatter/dafe47f5cedbc42b395cc3ac43773970 to your computer and use it in GitHub Desktop.
Save RedHatter/dafe47f5cedbc42b395cc3ac43773970 to your computer and use it in GitHub Desktop.
const path = require('path')
module.exports = {
entry: path.join(__dirname, 'public', 'scripts', 'display.js'),
output: {
path: path.join(__dirname, 'cache', 'scripts'),
publicPath: '/scripts/',
filename: 'display.js'
},
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