Skip to content
Permalink
Browse files

Add comments to webpack explaining builds

  • Loading branch information...
wanderingstan committed Sep 14, 2018
1 parent ee7b533 commit b75a6d16b8eff44784fd28094cfadb4dc6da0cb8
Showing with 8 additions and 0 deletions.
  1. +8 −0 webpack.config.js
@@ -1,5 +1,9 @@
var nodeExternals = require('webpack-node-externals');

/*
* Generate index.js used in `origin` npm package.
* This is used by our DApp.
*/
var serverConfig = {
entry: ["babel-polyfill", './src/index.js'],
output: {
@@ -34,6 +38,10 @@ var serverConfig = {
}
}

/*
* Generate `origin.js` file that may be used standalone in browser
* This is used by our docs, and included in our github release.
*/
var clientConfig = {
entry: ["babel-polyfill", './src/index.js'],
output: {

0 comments on commit b75a6d1

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