@polylith/builder 0.2.22 → 0.2.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/App.js +2 -1
- package/package.json +1 -1
package/App.js
CHANGED
|
@@ -701,6 +701,7 @@ export default class App {
|
|
|
701
701
|
var manualChunks = this.getManualChunks();
|
|
702
702
|
var mainCss = await this.buildMainCss();
|
|
703
703
|
var codeVariables = this.getCodeVariablesValue();
|
|
704
|
+
var sourceMap = !this.polylithConfig.minify;
|
|
704
705
|
|
|
705
706
|
this.templateVariables['mainCss'] = mainCss;
|
|
706
707
|
this.templateVariables['codeVariables'] = codeVariables;
|
|
@@ -766,7 +767,7 @@ export default class App {
|
|
|
766
767
|
},
|
|
767
768
|
output : {
|
|
768
769
|
output : {
|
|
769
|
-
sourcemap:
|
|
770
|
+
sourcemap: sourceMap,
|
|
770
771
|
dir : this.destPath,
|
|
771
772
|
format: 'es',
|
|
772
773
|
assetFileNames: function(chunkInfo) {
|