Skip to content

Commit 400ee13

Browse files
committed
Added 'webpack.config.js' with just the initial Webpack configuration to pack 'webpack_in/entry.js' into 'webpack_out/minimalistic_react.js'.
1 parent c636c0e commit 400ee13

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

webpack.config.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// This file 'webpack.config.js' is part of an example for building a minimalistic React front-end
2+
// app step by step as outlined in the tutorial blog at
3+
// http://maratbn.com/blogs/2017/01/14/minimalistic-react-webapp/
4+
5+
6+
const path = require('path');
7+
8+
module.exports = {
9+
entry: [path.join(__dirname, 'webpack_in', 'entry.js')],
10+
output: {
11+
path: path.join(__dirname, 'webpack_out'),
12+
filename: 'minimalistic_react.js'
13+
}
14+
};

0 commit comments

Comments
 (0)