Skip to content

Commit 4cf7b7d

Browse files
authored
docs: @putout/plugin-esm: apply-namespace-imports-to-file
1 parent b254c8f commit 4cf7b7d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/plugin-esm/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,10 @@ import('foo.json', {
315315

316316
### apply-namespace-import-to-file
317317

318+
The rule fixes:
319+
320+
> `SyntaxError: The requested module './a.js' does not provide an export named 'default'`
321+
318322
Check out in 🐊**Putout Editor**:
319323

320324
-[`apply-namespace-import-to-file`](https://putout.cloudcmd.io/#/gist/1492d584559e5798325047de679222a0/c6a37a803b80823de1b64ab944f2427aecefb51b);

0 commit comments

Comments
 (0)