You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/plugin-esm/README.md
+35-3Lines changed: 35 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -176,7 +176,7 @@ console.log(putout);
176
176
177
177
Checkout in 🐊[**Putout Editor**](https://putout.cloudcmd.io/#/gist/f9f34acddbefba0ded53225ca10fa44e/7b4dba44602b9b2d28fe3a98989474a4b0d8d73d).
178
178
179
-
## ❌ Example of incorrect code
179
+
###❌ Example of incorrect code
180
180
181
181
```js
182
182
importjsonfrom'./mod.json' with { type: 'json' };
@@ -192,7 +192,7 @@ import json from './mod.json' with { type: 'json' };
192
192
193
193
Checkout in 🐊[**Putout Editor**](https://putout.cloudcmd.io/#/gist/521e2ff199243a7ce1f65db7140c272e/28c0588281286f8a6765b8aa2ecabbfcde2973a7).
194
194
195
-
## ❌ Example of incorrect code
195
+
###❌ Example of incorrect code
196
196
197
197
```js
198
198
import {
@@ -204,7 +204,7 @@ import {
204
204
importa1from'a1';
205
205
```
206
206
207
-
## ✅ Example of correct code
207
+
###✅ Example of correct code
208
208
209
209
```js
210
210
importa1from'a1';
@@ -216,6 +216,38 @@ import {
216
216
} from'd';
217
217
```
218
218
219
+
## convert-assert-to-with
220
+
221
+
> This feature would ideally use the `with` keyword to denote attributes, but there are existing implementations based on a previous version of the proposal using the `assert` keyword. Due to potential web compatibility risks, the proposal still includes `assert` marked as deprecated. Usage of the old syntax is discouraged, and its removal is being investigated.
0 commit comments