Skip to content
Permalink
Browse files

Added 'webpack.config.js' with just the initial Webpack configuration…

… to pack 'webpack_in/entry.js' into 'webpack_out/minimalistic_react.js'.
  • Loading branch information
maratbn committed Jun 24, 2018
1 parent 10131f7 commit 911e65b61d88e4dc726ab8cffdd1a9a0d10a30b8
Showing with 14 additions and 0 deletions.
  1. +14 −0 webpack.config.js
@@ -0,0 +1,14 @@
// This file 'webpack.config.js' is part of an example for building a minimalistic React front-end
// app step by step with Webpack 3 as outlined in the tutorial blog at
// http://maratbn.com/blogs/2018/06/17/minimalistic-react-webapp-webpack-3/


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'
}
};

0 comments on commit 911e65b

Please sign in to comment.
You can’t perform that action at this time.