Skip to content

Commit adaa5af

Browse files
author
Johan Persson
committed
Updated README.md with mention of the new query parameter possibilities.
1 parent b5fdee5 commit adaa5af

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
# typed-css-modules-loader
22

33
Simplest webpack loader for https://github.com/Quramy/typed-css-modules
4-
Has no configuration atm.
54

6-
I suggest using it as preloader. It will generate `.css.d.ts` files near the `.css`
7-
Please take a look at [this discussion](https://github.com/Quramy/typed-css-modules/issues/2) to make a decision.
5+
I suggest using it as preloader. Unless you change the options (see below), it
6+
will generate `.css.d.ts` files near the `.css`. Please take a look at
7+
[this discussion](https://github.com/Quramy/typed-css-modules/issues/2) to make a decision.
8+
9+
You can affect how `typed-css-modules` behaves by using query parameters. The loader
10+
will pass on any query parameters you send give it to the constructor of the DtsCreator
11+
class. For more info on available options, have a look at the
12+
[DtsCreator constructor](https://github.com/Quramy/typed-css-modules#new-dtscreatoroption).
13+
814

915
```js
1016

0 commit comments

Comments
 (0)