Skip to content

Commit 55e0a20

Browse files
authored
docs: fix outdated broken links (#427)
1 parent d00b8fc commit 55e0a20

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ type stylusOptions =
8484

8585
Default: `{}`
8686

87-
You can pass any Stylus specific options to the `stylus-loader` through the `stylusOptions` property in the [loader options](https://webpack.js.org/configuration/module/#rule-options-rule-query).
87+
You can pass any Stylus specific options to the `stylus-loader` through the `stylusOptions` property in the [loader options](https://webpack.js.org/configuration/module/#ruleoptions--rulequery)
8888
See the [Stylus documentation](https://stylus-lang.com/docs/js.html).
8989
Options in dash-case should use camelCase.
9090

@@ -667,8 +667,8 @@ Thus you can import your Stylus modules from `node_modules`.
667667
```
668668

669669
Using `~` is deprecated and can be removed from your code (**we recommend it**), but we still support it for historical reasons.
670-
Why you can removed it? The loader will first try to resolve `@import`/`@require` as relative, if it cannot be resolved, the loader will try to resolve `@import`/`@require` inside [`node_modules`](https://webpack.js.org/configuration/resolve/#resolve-modules).
671-
Just prepend them with a `~` which tells webpack to look up the [`modules`](https://webpack.js.org/configuration/resolve/#resolve-modules).
670+
Why you can removed it? The loader will first try to resolve `@import`/`@require` as relative, if it cannot be resolved, the loader will try to resolve `@import`/`@require` inside [`node_modules`](https://webpack.js.org/configuration/resolve/#resolvemodules).
671+
Just prepend them with a `~` which tells webpack to look up the [`modules`](https://webpack.js.org/configuration/resolve/#resolvemodules).
672672

673673
```styl
674674
@import "~bootstrap-styl/bootstrap/index.styl";

0 commit comments

Comments
 (0)