@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.
Files changed (2) hide show
  1. package/App.js +2 -1
  2. 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: true,
770
+ sourcemap: sourceMap,
770
771
  dir : this.destPath,
771
772
  format: 'es',
772
773
  assetFileNames: function(chunkInfo) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polylith/builder",
3
- "version": "0.2.22",
3
+ "version": "0.2.23",
4
4
  "description": "The polylith builder",
5
5
  "main": "index.js",
6
6
  "type": "module",