@jsenv/plugin-transpilation 1.5.0 → 1.5.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/plugin-transpilation",
3
- "version": "1.5.0",
3
+ "version": "1.5.2",
4
4
  "description": "TODO",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -19,6 +19,11 @@
19
19
  "files": [
20
20
  "/src/"
21
21
  ],
22
+ "sideEffects": [
23
+ "./src/babel/new_stylesheet/client/new_stylesheet.js",
24
+ "./src/babel_helper_directory/babel_helpers/",
25
+ "./src/regenerator_runtime/client/regenerator_runtime.js"
26
+ ],
22
27
  "dependencies": {
23
28
  "@babel/plugin-transform-json-strings": "7.25.9",
24
29
  "@babel/plugin-transform-numeric-separator": "7.25.9",
@@ -51,9 +56,9 @@
51
56
  "@babel/plugin-transform-template-literals": "7.25.9",
52
57
  "@babel/plugin-transform-typeof-symbol": "7.25.9",
53
58
  "@babel/plugin-transform-unicode-regex": "7.25.9",
54
- "@jsenv/ast": "6.6.0",
55
- "@jsenv/js-module-fallback": "1.4.0",
56
- "@jsenv/runtime-compat": "1.3.3",
59
+ "@jsenv/ast": "6.6.2",
60
+ "@jsenv/js-module-fallback": "1.4.2",
61
+ "@jsenv/runtime-compat": "1.3.4",
57
62
  "babel-plugin-transform-async-to-promises": "0.8.18",
58
63
  "construct-style-sheets-polyfill": "3.1.0",
59
64
  "lightningcss": "1.29.1"
@@ -9,6 +9,10 @@ import {
9
9
  } from "@jsenv/js-module-fallback";
10
10
  import { injectQueryParams, urlToFilename } from "@jsenv/urls";
11
11
 
12
+ const systemJsClientFileUrl = injectQueryParams(systemJsClientFileUrlDefault, {
13
+ as_js_classic: undefined,
14
+ });
15
+
12
16
  export const jsenvPluginJsModuleConversion = ({ remapImportSpecifier }) => {
13
17
  const isReferencingJsModule = (reference) => {
14
18
  if (
@@ -101,7 +105,7 @@ export const jsenvPluginJsModuleConversion = ({ remapImportSpecifier }) => {
101
105
  outputFormat = "system";
102
106
  urlInfo.type = "js_classic";
103
107
  urlInfo.dependencies.foundSideEffectFile({
104
- sideEffectFileUrl: systemJsClientFileUrlDefault,
108
+ sideEffectFileUrl: systemJsClientFileUrl,
105
109
  expectedType: "js_classic",
106
110
  line: 0,
107
111
  column: 0,