From 3c0cbfc5cc63aaf4a9b781126e5d626b50230f00 Mon Sep 17 00:00:00 2001 From: lucapette Date: Mon, 23 Jan 2017 08:52:56 +0100 Subject: [PATCH] Add non working webpack configuration --- package.json | 3 +++ webpack.config.js | 11 +++++++++++ 2 files changed, 14 insertions(+) create mode 100644 webpack.config.js diff --git a/package.json b/package.json index d788197..9155f42 100644 --- a/package.json +++ b/package.json @@ -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" } } diff --git a/webpack.config.js b/webpack.config.js new file mode 100644 index 0000000..7279ae2 --- /dev/null +++ b/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;