@putout/plugin-esm 9.11.0 → 9.11.1
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/README.md +3 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -137,7 +137,7 @@ Check out 🐊[**Putout Editor**](https://putout.cloudcmd.io/#/gist/d8d428c2555b
|
|
|
137
137
|
```js
|
|
138
138
|
import a from '../package.json';
|
|
139
139
|
|
|
140
|
-
export
|
|
140
|
+
export * as x from './package.json';
|
|
141
141
|
|
|
142
142
|
await import('./package.json');
|
|
143
143
|
```
|
|
@@ -149,10 +149,9 @@ import a from '../package.json' with {
|
|
|
149
149
|
type: 'json',
|
|
150
150
|
};
|
|
151
151
|
|
|
152
|
-
export
|
|
153
|
-
type: 'json',
|
|
152
|
+
export * from './package.json' with {
|
|
153
|
+
type: 'json',
|
|
154
154
|
};
|
|
155
|
-
|
|
156
155
|
await import('./package.json', {
|
|
157
156
|
with: {
|
|
158
157
|
type: 'json',
|
package/package.json
CHANGED