We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5dbabc commit 8b9f3f1Copy full SHA for 8b9f3f1
1 file changed
README.md
@@ -19,23 +19,21 @@ See https://csstools.github.io/sanitize.css/latest/sanitize.css
19
20
see https://cdnjs.com/libraries/10up-sanitize.css
21
22
-## How to use it (NPM + WebPack)
+### Usage in npm and webpack
23
24
-**Import the package**
25
-
26
-in CSS (or LESS/SCSS/Stylus)
+Import [sanitize.css] in CSS:
27
28
```css
29
@import '~sanitize.css';
30
```
31
32
-or in javascript:
+Alternatively, import [sanitize.css] in JS:
33
34
```js
35
import 'sanitize.css';
36
37
38
-minimally required `webpack.config.js`:
+In `webpack.config.js`, be sure to use the appropriate loaders:
39
40
41
module.exports = {
0 commit comments