Skip to content

Commit

Permalink
Changed recommendation to use .mjs
Browse files Browse the repository at this point in the history
Because with `wmr.config.mjs` now results `SyntaxError: Cannot use import statement outside a module`
  • Loading branch information
jt3k committed Apr 29, 2021
1 parent 50c9e67 commit 68a1697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nomodule-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ New browsers get the new stuff, old browsers get the old stuff.

## Usage

Add this to your `wmr.config.js`:
Add this to your `wmr.config.mjs`:

```js
import nomodule from '@wmrjs/nomodule';
Expand Down

0 comments on commit 68a1697

Please sign in to comment.