Skip to content

Instantly share code, notes, and snippets.

@skeep
Created January 15, 2018 18:57
Show Gist options
  • Save skeep/f1330c92fb541e250a7778538c89c45f to your computer and use it in GitHub Desktop.
Save skeep/f1330c92fb541e250a7778538c89c45f to your computer and use it in GitHub Desktop.
const path = require('path');
const paths = {
BUILD: path.resolve(__dirname, 'build'),
SRC: path.resolve(__dirname, 'src')
};
module.exports = {
entry: path.join(paths.SRC, 'app.js'),
output: {
path: paths.BUILD,
filename: 'app.bundle.js'
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment