@@ -74,8 +74,8 @@ myFunction("Hello world");
7474
7575``` js
7676import {
77- myVariable ,
7877 myFunction ,
78+ myVariable ,
7979} from " exports-loader?exports=myVariable,myFunction!./file.js" ;
8080// Adds the following code to the file's source:
8181//
@@ -85,7 +85,7 @@ import {
8585//
8686// export { myVariable, myFunction };
8787
88- const newVariable = myVariable + " !!!" ;
88+ const newVariable = ` ${ myVariable} !!!` ;
8989
9090console .log (newVariable);
9191
@@ -247,6 +247,8 @@ module.exports = {
247247
248248Generate output:
249249
250+ <!-- eslint-skip -->
251+
250252``` js
251253// ...
252254// Code
@@ -273,7 +275,6 @@ The `|` or `%20` (space) allow to separate the `syntax`, `name` and `alias` of e
273275String syntax - ` [[syntax] [name] [alias]] ` or ` [[syntax]|[name]|[alias]] ` , where:
274276
275277- ` [syntax] ` (** may be omitted** ) -
276-
277278 - if ` type ` is ` module ` - can be ` default ` and ` named ` ,
278279 - if ` type ` is ` commonjs ` - can be ` single ` and ` multiple `
279280
@@ -353,6 +354,8 @@ module.exports = {
353354
354355Generate output:
355356
357+ <!-- eslint-skip -->
358+
356359``` js
357360// ...
358361// Code
@@ -494,6 +497,8 @@ module.exports = {
494497
495498Generate output:
496499
500+ <!-- eslint-skip -->
501+
497502``` js
498503// ...
499504// Code
@@ -617,7 +622,7 @@ Generate output:
617622// Code
618623// ...
619624
620- module .exports = { Foo, Bar, BazA: Bar };
625+ module .exports = { Bar, BazA: Bar, Foo };
621626```
622627
623628###### ES Module Default Export And Named Exports Together
@@ -642,6 +647,8 @@ module.exports = {
642647
643648Generate output:
644649
650+ <!-- eslint-skip -->
651+
645652``` js
646653// ...
647654// Code
@@ -677,6 +684,8 @@ module.exports = {
677684
678685Generate output:
679686
687+ <!-- eslint-skip -->
688+
680689``` js
681690// ...
682691// Code
0 commit comments