Skip to content

Commit

Permalink
Add a webpack configuration for bundling the application into a singl…
Browse files Browse the repository at this point in the history
…e script file.
  • Loading branch information
Josh Graber committed Oct 16, 2015
1 parent 8b7e3c1 commit 18eb8dd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
@@ -1,2 +1,5 @@
# Output folders
/dist/

# Node modules
/node_modules/
9 changes: 9 additions & 0 deletions webpack.config.js
@@ -0,0 +1,9 @@
var path = require('path');

module.exports = {
entry: './js/app',
output: {
path: path.resolve('dist'),
filename: 'bundle.js',
},
};

0 comments on commit 18eb8dd

Please sign in to comment.