Skip to content

Commit

Permalink
doc: avoid proposal syntax in code example
Browse files Browse the repository at this point in the history
  • Loading branch information
alexzherdev authored and Alex Zherdev committed Nov 28, 2019
1 parent 141a6e3 commit c01d9c1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doc/api/esm.md
Expand Up @@ -654,7 +654,10 @@ CommonJS and ES module instances of the package:

```js
// ./node_modules/pkg/index.mjs
export state from './state.cjs';
import state from './state.cjs';
export {
state
};
```

Even if `pkg` is used via both `require` and `import` in an application (for
Expand Down

0 comments on commit c01d9c1

Please sign in to comment.