@newlogic-digital/core 0.9.11 → 0.9.12
Sign up to get free protection for your applications and to get access to all the features.
- package/modules/Scripts.js +1 -1
- package/package.json +1 -1
package/modules/Scripts.js
CHANGED
@@ -186,7 +186,7 @@ export class Scripts {
|
|
186
186
|
preventAssignment: true,
|
187
187
|
values: Object.assign({
|
188
188
|
'process.env.NODE_ENV': JSON.stringify('production'),
|
189
|
-
[Config.paths.input.assets]: `${Config.paths.output.assets.replace(Config.paths.output.root + "/", "")}`
|
189
|
+
[Config.paths.input.assets]: `${Config.paths.output.assets.replace(Config.paths.output.root + "/", Config.paths.base.length > 0 ? Config.paths.base + "/" : "")}`
|
190
190
|
}, assetsManifest)
|
191
191
|
}),
|
192
192
|
Config.scripts.optimizations && terser(),
|
package/package.json
CHANGED