You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -175,11 +175,11 @@ Importing CSS files is supported via `import "./foo.css"`. By default, generated
175
175
176
176
```js
177
177
// with the default external CSS:
178
-
import'./foo.css'; // generates a minified .css file in the output directory
178
+
import'./foo.css'; // generates a minified .css file in the output directory
179
179
180
180
// with `microbundle --css inline`:
181
181
importcssfrom'./foo.css';
182
-
console.log(css); // the generated minified stylesheet
182
+
console.log(css); // the generated minified stylesheet
183
183
```
184
184
185
185
**CSS Modules:** CSS files with names ending in `.module.css` are treated as a [CSS Modules](https://github.com/css-modules/css-modules).
@@ -237,11 +237,11 @@ It's also possible to configure repeatable short names for each mangled property
237
237
238
238
The `--define` option can be used to inject or replace build-time constants when bundling. In addition to injecting string or number constants, prefixing the define name with `@` allows injecting JavaScript expressions.
0 commit comments