babel-preset-transform-ui5 7.9.0 → 7.10.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/CHANGELOG.md +22 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 7.10.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#154](https://github.com/ui5-community/babel-plugin-transform-modules-ui5/pull/154) [`f62f9fb`](https://github.com/ui5-community/babel-plugin-transform-modules-ui5/commit/f62f9fba1a64dea2673662dd163fcc1eb5cff540) Thanks [@bbogovich-sap](https://github.com/bbogovich-sap)! - Add two comment pragmas to opt out of module transformation:
|
|
8
|
+
|
|
9
|
+
- `/* @ui5-no-wrap */` (file level) leaves a module completely unwrapped —
|
|
10
|
+
no `sap.ui.define`/`sap.ui.require` and no import/export rewriting — while
|
|
11
|
+
still stripping TypeScript types. Intended for modules consumed as native
|
|
12
|
+
ES modules, e.g. web workers.
|
|
13
|
+
- `/* @ui5-ignore-import */` (statement level) excludes a single static
|
|
14
|
+
`import` or dynamic `import()` from being converted into a UI5 dependency.
|
|
15
|
+
|
|
16
|
+
Note: `@ui5-ignore-import` on a static import only yields valid output in an
|
|
17
|
+
unwrapped module (no exports, or together with `@ui5-no-wrap`); a leftover
|
|
18
|
+
ES `import` inside a `sap.ui.define` factory is not valid at runtime.
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- Updated dependencies [[`f62f9fb`](https://github.com/ui5-community/babel-plugin-transform-modules-ui5/commit/f62f9fba1a64dea2673662dd163fcc1eb5cff540)]:
|
|
23
|
+
- babel-plugin-transform-modules-ui5@7.10.0
|
|
24
|
+
|
|
3
25
|
## 7.9.0
|
|
4
26
|
|
|
5
27
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babel-preset-transform-ui5",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.10.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"directory": "packages/preset"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"babel-plugin-transform-modules-ui5": "^7.
|
|
15
|
+
"babel-plugin-transform-modules-ui5": "^7.10.0"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"prettier": "3.9.0"
|