Skip to content

Commit 9e77d93

Browse files
sanchitnevgiskipjack
authored andcommitted
docs(contribute): fix import statement in writing-a-loader.md (#1732)
`validateOptions` is exported as a default module.
1 parent c0db521 commit 9e77d93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/contribute/writing-a-loader.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ __loader.js__
124124

125125
``` js
126126
import { getOptions } from 'loader-utils';
127-
import { validateOptions } from 'schema-utils';
127+
import validateOptions from 'schema-utils';
128128

129129
const schema = {
130130
type: object,

0 commit comments

Comments
 (0)