Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added 'webpack.config.js' with just the initial Webpack 4 configurati…
…on to pack 'webpack_in/entry.js' into 'webpack_out/minimalistic_react.js'.
  • Loading branch information
maratbn committed Jun 29, 2018
1 parent 1c95d31 commit 0e1a6db
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions webpack.config.js
@@ -0,0 +1,15 @@
// This file 'webpack.config.js' is part of an example for building a minimalistic React front-end
// app step by step with Webpack 4 as outlined in the tutorial blog at
// http://maratbn.com/blogs/2018/06/25/minimalistic-react-webapp-webpack-4/


const path = require('path');

module.exports = {
entry: [path.join(__dirname, 'webpack_in', 'entry.js')],
output: {
path: path.join(__dirname, 'webpack_out'),
filename: 'minimalistic_react.js'
},
mode: 'development'
};

0 comments on commit 0e1a6db

Please sign in to comment.