summaryrefslogtreecommitdiffstats
path: root/sdnr/wt/odlux/apps/apiDemo/webpack.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'sdnr/wt/odlux/apps/apiDemo/webpack.config.js')
-rw-r--r--sdnr/wt/odlux/apps/apiDemo/webpack.config.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/sdnr/wt/odlux/apps/apiDemo/webpack.config.js b/sdnr/wt/odlux/apps/apiDemo/webpack.config.js
index 1c699e15b..6564bef26 100644
--- a/sdnr/wt/odlux/apps/apiDemo/webpack.config.js
+++ b/sdnr/wt/odlux/apps/apiDemo/webpack.config.js
@@ -88,7 +88,7 @@ module.exports = (env) => {
manifest: require(path.resolve(frameworkPath, "app-manifest.json")),
sourceType: "umd2"
}),
- ...(env === "release") ? [
+ ...(env === "release" ? [
new webpack.DefinePlugin({
"process.env": {
NODE_ENV: "'production'",
@@ -106,7 +106,7 @@ module.exports = (env) => {
from: 'index.html',
to: distPath
}]),
- ]
+ ])
],
devServer: {