Permalink
Browse files

Add non working webpack configuration

  • Loading branch information...
1 parent 44c53fa commit 3c0cbfc5cc63aaf4a9b781126e5d626b50230f00 @lucapette committed Jan 23, 2017
Showing with 14 additions and 0 deletions.
  1. +3 −0 package.json
  2. +11 −0 webpack.config.js
View
@@ -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"
}
}
View
@@ -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.