@unocss/webpack 0.44.2 → 0.44.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -23,6 +23,13 @@ module.exports = {
23
23
  }
24
24
  ```
25
25
 
26
+ Add `uno.css` to your main entry:
27
+
28
+ ```ts
29
+ // main.ts
30
+ import 'uno.css'
31
+ ```
32
+
26
33
  Or you can have the config file in `unocss.config.js` or `unocss.config.ts`.
27
34
 
28
35
  ## License
package/dist/index.cjs CHANGED
@@ -22,7 +22,7 @@ const IGNORE_COMMENT = "@unocss-ignore";
22
22
  const CSS_PLACEHOLDER = "@unocss-placeholder";
23
23
 
24
24
  const defaultExclude = [core.cssIdRE];
25
- const defaultInclude = [/\.vue$/, /\.vue\?vue/, /\.svelte$/, /\.[jt]sx$/, /\.mdx?$/, /\.astro$/, /\.elm$/];
25
+ const defaultInclude = [/\.vue$/, /\.vue\?vue/, /\.svelte$/, /\.[jt]sx$/, /\.mdx?$/, /\.astro$/, /\.elm$/, /\.html$/];
26
26
 
27
27
  function createContext(configOrPath, defaults = {}, extraConfigSources = [], resolveConfigResult = () => {
28
28
  }) {
package/dist/index.mjs CHANGED
@@ -12,7 +12,7 @@ const IGNORE_COMMENT = "@unocss-ignore";
12
12
  const CSS_PLACEHOLDER = "@unocss-placeholder";
13
13
 
14
14
  const defaultExclude = [cssIdRE];
15
- const defaultInclude = [/\.vue$/, /\.vue\?vue/, /\.svelte$/, /\.[jt]sx$/, /\.mdx?$/, /\.astro$/, /\.elm$/];
15
+ const defaultInclude = [/\.vue$/, /\.vue\?vue/, /\.svelte$/, /\.[jt]sx$/, /\.mdx?$/, /\.astro$/, /\.elm$/, /\.html$/];
16
16
 
17
17
  function createContext(configOrPath, defaults = {}, extraConfigSources = [], resolveConfigResult = () => {
18
18
  }) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/webpack",
3
- "version": "0.44.2",
3
+ "version": "0.44.3",
4
4
  "description": "The Webpack plugin for UnoCSS",
5
5
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -38,8 +38,8 @@
38
38
  "dependencies": {
39
39
  "@ampproject/remapping": "^2.2.0",
40
40
  "@rollup/pluginutils": "^4.2.1",
41
- "@unocss/config": "0.44.2",
42
- "@unocss/core": "0.44.2",
41
+ "@unocss/config": "0.44.3",
42
+ "@unocss/core": "0.44.3",
43
43
  "magic-string": "^0.26.2",
44
44
  "unplugin": "^0.7.0",
45
45
  "webpack-sources": "^3.2.3"