@atlaspack/transformer-js 3.3.5-dev.0 → 3.3.6-dev-eae8c193d.0
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/lib/JSTransformer.js +1 -0
- package/package.json +8 -8
- package/src/JSTransformer.js +1 -0
package/lib/JSTransformer.js
CHANGED
|
@@ -383,6 +383,7 @@ var _default = exports.default = new (_plugin().Transformer)({
|
|
|
383
383
|
conditional_bundling: options.featureFlags.conditionalBundlingApi,
|
|
384
384
|
hmr_improvements: options.featureFlags.hmrImprovements,
|
|
385
385
|
magic_comments: Boolean(config === null || config === void 0 ? void 0 : config.magicComments),
|
|
386
|
+
secret_extra_prop: 'This came from JS',
|
|
386
387
|
callMacro: asset.isSource ? async (err, src, exportName, args, loc) => {
|
|
387
388
|
let mod;
|
|
388
389
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaspack/transformer-js",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.6-dev-eae8c193d.0",
|
|
4
4
|
"license": "(MIT OR Apache-2.0)",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
"src"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@atlaspack/diagnostic": "2.14.2-dev.0",
|
|
26
|
-
"@atlaspack/feature-flags": "2.18.
|
|
27
|
-
"@atlaspack/plugin": "2.14.
|
|
28
|
-
"@atlaspack/rust": "3.3.6-dev.0",
|
|
29
|
-
"@atlaspack/utils": "2.15.
|
|
30
|
-
"@atlaspack/workers": "2.14.
|
|
25
|
+
"@atlaspack/diagnostic": "2.14.2-dev-eae8c193d.0",
|
|
26
|
+
"@atlaspack/feature-flags": "2.18.4-dev-eae8c193d.0",
|
|
27
|
+
"@atlaspack/plugin": "2.14.16-dev-eae8c193d.0",
|
|
28
|
+
"@atlaspack/rust": "3.3.6-dev-eae8c193d.0",
|
|
29
|
+
"@atlaspack/utils": "2.15.4-dev-eae8c193d.0",
|
|
30
|
+
"@atlaspack/workers": "2.14.16-dev-eae8c193d.0",
|
|
31
31
|
"@parcel/source-map": "^2.1.1",
|
|
32
32
|
"@swc/helpers": "^0.5.15",
|
|
33
33
|
"browserslist": "^4.6.6",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"@atlaspack/core": "^2.13.1"
|
|
40
40
|
},
|
|
41
41
|
"type": "commonjs",
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "eae8c193d1b12309f6377859a2da6a352b329f3d"
|
|
43
43
|
}
|
package/src/JSTransformer.js
CHANGED
|
@@ -477,6 +477,7 @@ export default (new Transformer({
|
|
|
477
477
|
conditional_bundling: options.featureFlags.conditionalBundlingApi,
|
|
478
478
|
hmr_improvements: options.featureFlags.hmrImprovements,
|
|
479
479
|
magic_comments: Boolean(config?.magicComments),
|
|
480
|
+
secret_extra_prop: 'This came from JS',
|
|
480
481
|
callMacro: asset.isSource
|
|
481
482
|
? async (err, src, exportName, args, loc) => {
|
|
482
483
|
let mod;
|