Permalink
Browse files

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 26, 2018
1 parent 1c95d31 commit 0e1a6db3eba8960f87e93a7a7301298590222f77
Showing with 15 additions and 0 deletions.
  1. +15 −0 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.