@atlaspack/transformer-js 3.2.3-canary.211 → 3.2.3-canary.212

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.
@@ -484,7 +484,9 @@ var _default = exports.default = new (_plugin().Transformer)({
484
484
  // @ts-expect-error TS2345
485
485
  map.extends(originalMap);
486
486
  } else {
487
- map.setSourceContent(asset.filePath, code.toString());
487
+ if (!(0, _featureFlags().getFeatureFlag)('omitSourcesContentInMemory')) {
488
+ map.setSourceContent(asset.filePath, code.toString());
489
+ }
488
490
  }
489
491
  }
490
492
  macroAssets.push({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/transformer-js",
3
- "version": "3.2.3-canary.211+236e54658",
3
+ "version": "3.2.3-canary.212+f07351a23",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -24,12 +24,12 @@
24
24
  "src"
25
25
  ],
26
26
  "dependencies": {
27
- "@atlaspack/diagnostic": "2.14.1-canary.279+236e54658",
28
- "@atlaspack/feature-flags": "2.14.1-canary.279+236e54658",
29
- "@atlaspack/plugin": "2.14.5-canary.211+236e54658",
30
- "@atlaspack/rust": "3.2.1-canary.211+236e54658",
31
- "@atlaspack/utils": "2.14.5-canary.211+236e54658",
32
- "@atlaspack/workers": "2.14.5-canary.211+236e54658",
27
+ "@atlaspack/diagnostic": "2.14.1-canary.280+f07351a23",
28
+ "@atlaspack/feature-flags": "2.14.1-canary.280+f07351a23",
29
+ "@atlaspack/plugin": "2.14.5-canary.212+f07351a23",
30
+ "@atlaspack/rust": "3.2.1-canary.212+f07351a23",
31
+ "@atlaspack/utils": "2.14.5-canary.212+f07351a23",
32
+ "@atlaspack/workers": "2.14.5-canary.212+f07351a23",
33
33
  "@parcel/source-map": "^2.1.1",
34
34
  "@swc/helpers": "^0.5.15",
35
35
  "browserslist": "^4.6.6",
@@ -41,5 +41,5 @@
41
41
  "@atlaspack/core": "2.24.2"
42
42
  },
43
43
  "type": "commonjs",
44
- "gitHead": "236e5465863dca6044a7191e05260a5b924c342e"
44
+ "gitHead": "f07351a2398b6a8e5155a2daad77e69b7dcb2b4b"
45
45
  }
@@ -584,7 +584,9 @@ export default new Transformer({
584
584
  // @ts-expect-error TS2345
585
585
  map.extends(originalMap);
586
586
  } else {
587
- map.setSourceContent(asset.filePath, code.toString());
587
+ if (!getFeatureFlag('omitSourcesContentInMemory')) {
588
+ map.setSourceContent(asset.filePath, code.toString());
589
+ }
588
590
  }
589
591
  }
590
592