mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-15 00:54:25 +02:00
chore: using the production build of React
This commit is contained in:
parent
67664cc2c0
commit
753c4dbc71
1 changed files with 1 additions and 0 deletions
|
@ -134,6 +134,7 @@ var ifyBuild = function() {
|
||||||
};
|
};
|
||||||
|
|
||||||
var miniBuild = function() {
|
var miniBuild = function() {
|
||||||
|
process.env.NODE_ENV = 'production';
|
||||||
return getBundle()
|
return getBundle()
|
||||||
.pipe(gTerser())
|
.pipe(gTerser())
|
||||||
.pipe(dest(destDir));
|
.pipe(dest(destDir));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue