Skip to content

Commit 7598779

Browse files
committed
docs(readme): it's no longer necessary to use ".default", the export object is the plugin itself now
1 parent f895d78 commit 7598779

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Module:
5959
Include something like the following in `webpack.config.js`:
6060

6161
```js
62-
const ResolveTypeScriptPlugin = require("resolve-typescript-plugin").default;
62+
const ResolveTypeScriptPlugin = require("resolve-typescript-plugin");
6363

6464
exports = {
6565
module: {

0 commit comments

Comments
 (0)