Fix prod environment
This commit is contained in:
parent
c32f987c4f
commit
de288afeb5
|
@ -60,6 +60,7 @@ function gulptasksJS($, gulp, buildFolder, browserSync) {
|
||||||
$.webpackStream(
|
$.webpackStream(
|
||||||
requireUncached("./webpack.production.config.js")({
|
requireUncached("./webpack.production.config.js")({
|
||||||
es6: false,
|
es6: false,
|
||||||
|
environment: data.environment,
|
||||||
...data.buildArgs,
|
...data.buildArgs,
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
@ -75,6 +76,7 @@ function gulptasksJS($, gulp, buildFolder, browserSync) {
|
||||||
$.webpackStream(
|
$.webpackStream(
|
||||||
requireUncached("./webpack.production.config.js")({
|
requireUncached("./webpack.production.config.js")({
|
||||||
es6: true,
|
es6: true,
|
||||||
|
environment: data.environment,
|
||||||
...data.buildArgs,
|
...data.buildArgs,
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue