Skip to content

Commit

Permalink
Add non working webpack configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
lucapette committed Jan 23, 2017
1 parent 44c53fa commit 3c0cbfc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package.json
Expand Up @@ -12,5 +12,8 @@
"react": "^15.4.2",
"react-dom": "^15.4.2",
"webpack": "^1.14.0"
},
"scripts": {
"start": "node_modules/.bin/webpack --config webpack.config.js"
}
}
11 changes: 11 additions & 0 deletions webpack.config.js
@@ -0,0 +1,11 @@
var path = require('path');

const config = {
entry: './src/App.js',
output: {
path: path.resolve(__dirname, 'public'),
filename: 'App.js'
}
}

module.exports = config;

0 comments on commit 3c0cbfc

Please sign in to comment.