From ff686efc9684ce56e6edbbcad951daa9d80f9d02 Mon Sep 17 00:00:00 2001 From: Vasan Subramanian Date: Fri, 23 Dec 2016 12:00:33 +0530 Subject: [PATCH 1/4] Simple Routing: add react-router as vendor package --- webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 8a0463f..c8e208c 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -3,7 +3,7 @@ const webpack = require('webpack'); module.exports = { entry: { app: './src/App.jsx', - vendor: ['react', 'react-dom', 'whatwg-fetch'], + vendor: ['react', 'react-dom', 'whatwg-fetch', 'react-router'], }, output: { path: './static', From 8c236f6db616acd6a1b4d4d166db015cd27f8d25 Mon Sep 17 00:00:00 2001 From: Vasan Subramanian Date: Fri, 23 Dec 2016 12:07:06 +0530 Subject: [PATCH 2/4] Bootstrap Installation: added react-bootstrap to vendor bundle --- webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 7801001..0af776a 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -3,7 +3,7 @@ const webpack = require('webpack'); module.exports = { entry: { app: './src/App.jsx', - vendor: ['react', 'react-dom', 'whatwg-fetch', 'react-router'], + vendor: ['react', 'react-dom', 'whatwg-fetch', 'react-router', 'react-bootstrap'], }, output: { path: './static', From 825b6d6f4027f3f0a5d935430d4aff8b6c4fc7b8 Mon Sep 17 00:00:00 2001 From: Vasan Subramanian Date: Fri, 23 Dec 2016 12:25:35 +0530 Subject: [PATCH 3/4] Libraries Bundle: added missing packages to vendor bundle --- webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 6a12baa..3990ac3 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -3,7 +3,7 @@ const webpack = require('webpack'); module.exports = { entry: { app: './src/App.jsx', - vendor: ['react','react-dom','whatwg-fetch'], + vendor: ['react','react-dom','whatwg-fetch','babel-polyfill'], }, output: { path: './static', From bb1ae00b19c40f1be4e7d5a8f38665801f462132 Mon Sep 17 00:00:00 2001 From: Vasan Subramanian Date: Fri, 23 Dec 2016 12:39:50 +0530 Subject: [PATCH 4/4] Navigation: added missing packages to vendor bundle --- webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 6d9fdf4..5f0830b 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -4,7 +4,7 @@ module.exports = { entry: { app: './src/App.jsx', vendor: [ - 'react', 'react-dom', 'react-router', 'react-bootstrap', + 'react', 'react-dom', 'react-router', 'react-bootstrap', 'react-router-bootstrap', 'whatwg-fetch', 'babel-polyfill', ], },