You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 3, 2019. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,8 @@
4
4
<palign='center'>A starter kit for universal react applications.</p>
5
5
</p>
6
6
7
+
[](#contributors)[](https://david-dm.org/ctrlplusb/react-universally)[](https://david-dm.org/ctrlplusb/react-universally?type=dev)
8
+
7
9
## About
8
10
9
11
This starter kit contains all the build tooling and configuration you need to kick off your next universal React project, whilst containing a minimal "project" set up allowing you to make your own architecture decisions (Redux/MobX etc).
Copy file name to clipboardExpand all lines: internal/development/createVendorDLL.js
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,8 @@ function createVendorDLL(bundleName, bundleConfig) {
38
38
39
39
functionwebpackConfigFactory(){
40
40
return{
41
+
// Force development mode as the dev server should only be ran while developing.
42
+
mode: 'development',
41
43
// We only use this for development, so lets always include source maps.
42
44
devtool: 'inline-source-map',
43
45
entry: {
@@ -94,7 +96,7 @@ function createVendorDLL(bundleName, bundleConfig) {
94
96
level: 'warn',
95
97
message: `Generating a new "${bundleName}" Vendor DLL for boosted development performance.
96
98
97
-
The Vendor DLL helps to speed up your development workflow by reducing Webpack build times. It does this by seperating Vendor DLLs from your primary bundles, thereby allowing Webpack to ignore them when having to rebuild your code for changes.
99
+
The Vendor DLL helps to speed up your development workflow by reducing Webpack build times. It does this by seperating Vendor DLLs from your primary bundles, thereby allowing Webpack to ignore them when having to rebuild your code for changes.
98
100
99
101
We recommend that you add all your client bundle specific dependencies to the Vendor DLL configuration (within /config).`,
0 commit comments