8000 don't suggest 'import exec from ...' (#62) · webpack-contrib/script-loader@01f659e · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Nov 5, 2019. It is now read-only.

Commit 01f659e

Browse files
nornagonmistic
authored andcommitted
don't suggest 'import exec from ...' (#62)
1 parent 8de7cb2 commit 01f659e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Executes JS script once in global context.
2626
### Config (recommended)
2727

2828
```js
29-
import exec from 'script.exec.js';
29+
import './script.exec.js';
3030
```
3131

3232
**webpack.config.js**
@@ -46,7 +46,7 @@ module.exports = {
4646
### Inline
4747

4848
```js
49-
import exec from 'script-loader!./script.js';
49+
import 'script-loader!./script.js';
5050
```
5151

5252
## Options

0 commit comments

Comments
 (0)
0