Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions .changeset/no-wrap-ignore-import-pragmas.md

This file was deleted.

6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions packages/plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Change Log

## 7.10.0

### Minor Changes

- [#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:

- `/* @ui5-no-wrap */` (file level) leaves a module completely unwrapped —
no `sap.ui.define`/`sap.ui.require` and no import/export rewriting — while
still stripping TypeScript types. Intended for modules consumed as native
ES modules, e.g. web workers.
- `/* @ui5-ignore-import */` (statement level) excludes a single static
`import` or dynamic `import()` from being converted into a UI5 dependency.

Note: `@ui5-ignore-import` on a static import only yields valid output in an
unwrapped module (no exports, or together with `@ui5-no-wrap`); a leftover
ES `import` inside a `sap.ui.define` factory is not valid at runtime.

## 7.9.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "babel-plugin-transform-modules-ui5",
"version": "7.9.0",
"version": "7.10.0",
"description": "An unofficial babel plugin for SAP UI5.",
"main": "dist/index.js",
"repository": {
Expand Down
22 changes: 22 additions & 0 deletions packages/preset/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# Change Log

## 7.10.0

### Minor Changes

- [#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:

- `/* @ui5-no-wrap */` (file level) leaves a module completely unwrapped —
no `sap.ui.define`/`sap.ui.require` and no import/export rewriting — while
still stripping TypeScript types. Intended for modules consumed as native
ES modules, e.g. web workers.
- `/* @ui5-ignore-import */` (statement level) excludes a single static
`import` or dynamic `import()` from being converted into a UI5 dependency.

Note: `@ui5-ignore-import` on a static import only yields valid output in an
unwrapped module (no exports, or together with `@ui5-no-wrap`); a leftover
ES `import` inside a `sap.ui.define` factory is not valid at runtime.

### Patch Changes

- Updated dependencies [[`f62f9fb`](https://github.com/ui5-community/babel-plugin-transform-modules-ui5/commit/f62f9fba1a64dea2673662dd163fcc1eb5cff540)]:
- babel-plugin-transform-modules-ui5@7.10.0

## 7.9.0

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/preset/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "babel-preset-transform-ui5",
"version": "7.9.0",
"version": "7.10.0",
"main": "index.js",
"license": "MIT",
"engines": {
Expand All @@ -12,7 +12,7 @@
"directory": "packages/preset"
},
"dependencies": {
"babel-plugin-transform-modules-ui5": "^7.9.0"
"babel-plugin-transform-modules-ui5": "^7.10.0"
},
"devDependencies": {
"prettier": "3.9.0"
Expand Down
Loading