Skip to content

Instantly share code, notes, and snippets.

@MikeCheng1208
Last active August 15, 2018 06:11
Show Gist options
  • Save MikeCheng1208/5ef468e832ec129a5aa3d62fdd148e01 to your computer and use it in GitHub Desktop.
Save MikeCheng1208/5ef468e832ec129a5aa3d62fdd148e01 to your computer and use it in GitHub Desktop.
output path setting
var path = require('path');
module.exports = {
context: path.resolve(__dirname, 'src'),
entry: './index.js',
output: {
path: path.resolve(__dirname, 'App'),
filename: 'index-bundle.js',
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment