Skip to content

Commit 5fee1fa

Browse files
committed
Update README.md
1 parent 1f86682 commit 5fee1fa

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

README.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,24 @@
1-
# typed-css-modules-loader
1+
# typed-css-modules-loader
2+
3+
Simplest webpack loader for https://github.com/Quramy/typed-css-modules
4+
Has no configuration atm.
5+
6+
Use it as preloader. It will generate `.css.d.ts` files near the `.css`
7+
8+
```javascipt
9+
10+
const settings = {
11+
// ...
12+
module: {
13+
preLoaders: [
14+
// ...
15+
{
16+
test: /\.css$/,
17+
exclude: /node_modules/,
18+
loader: 'typed-css-modules'
19+
}
20+
],
21+
}
22+
// ...
23+
}
24+
```

0 commit comments

Comments
 (0)