diff --git a/CHANGELOG.md b/CHANGELOG.md
index 41cabf2..d1c888c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,10 @@
+# [1.1.0](https://github.com/prantlf/rollup-plugin-css-lit/compare/v1.0.0...v1.1.0) (2022-05-23)
+
+
+### Features
+
+* Use eslint optionally instead of postcss ([afd1f53](https://github.com/prantlf/rollup-plugin-css-lit/commit/afd1f53fdf13e2af31da6d70502aeeb0000f6426))
+
# 1.0.0 (2022-05-16)
Initial release
diff --git a/README.md b/README.md
index bf33f15..260346a 100644
--- a/README.md
+++ b/README.md
@@ -30,14 +30,12 @@ import { litCss } from 'rollup-plugin-css-lit'
export default {
plugins: [
- litCss({ minify: process.env.NODE_ENV === 'production' }),
+ litCss({ minify: process.env.NODE_ENV === 'production' })
]
// the rest of the configuration
}
```
-Make sure that you use [Node.js] 14 or newer and [Rollup] 2 or newer. Use your favourite package manager - [NPM], [PNPM] or [Yarn]:
-
## Installation
Make sure that you use [Node.js] 14 or newer and [Rollup] 2 or newer. Use your favourite package manager - [NPM], [PNPM] or [Yarn]:
@@ -101,6 +99,8 @@ Default: `false`
Enables minifying of the transformed CSS output. If an object is specified, it will be passed to the [cssnano] plugin.
+Experimental feature: if the object is set to `{ fast: true }`, [esbuild] will be used instead of [postcss].
+
### `inline`
Type: `Boolean | Object`
@@ -108,6 +108,8 @@ Default: `false`
Enables inlining of stylesheets and other assets. If an object is specified, it will have to include two properties pointing to objects: `{ stylesheets, assets }`. The `stylesheets` objects will be passed to the [postcss-import] plugin. The `assets` objects will be passed to the [postcss-url] plugin.
+Experimental feature: if the object is set to `{ fast: true }`, [esbuild] will be used instead of [postcss].
+
### `plugins`
Type: `Array`
@@ -188,6 +190,8 @@ Passing a booleans to the `litCss` plugin - `{ minify: true, inline: true }` - w
Pass [options for cssnano] to `minify`, [options for postcss-import] to `inline.stylesheets` and [options for postcss-url] to `inline.assets`.
+Experimental feature: if the `minify` or `inline` object is set to `{ fast: true }`, [esbuild] will be used instead of [postcss].
+
## Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Lint and test your code.
@@ -210,6 +214,7 @@ Licensed under the [MIT License].
[Pattern]: https://www.linuxjournal.com/content/bash-extended-globbing
[PostCSS]: https://postcss.org/
[cssnano]: https://cssnano.co/
+[esbuild]: https://esbuild.github.io/
[postcss-import]: https://www.npmjs.com/package/postcss-import
[postcss-url]: https://www.npmjs.com/package/postcss-url
[postcss-fail-on-warn]: https://www.npmjs.com/package/postcss-fail-on-warn
diff --git a/package.json b/package.json
index 444a7f2..87e090e 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "rollup-plugin-css-lit",
- "version": "1.0.0",
+ "version": "1.1.0",
"description": "Rollup plugin for importing CSS sources as constructable stylesheets to projects using lit (lit-html and lit-element) or fast-element.",
"author": "Ferdinand Prantl (http://prantl.tk)",
"license": "MIT",
@@ -30,9 +30,9 @@
"scripts": {
"prepare": "rollup -c",
"lint": "denolint",
- "check": "node test",
- "cover": "c8 node test",
- "test": "denolint && c8 node test"
+ "check": "teru-esm test/index.js",
+ "cover": "c8 node teru-esm test/index.js",
+ "test": "denolint && c8 teru-esm test/index.js"
},
"c8": {
"check-coverage": true,
@@ -64,16 +64,17 @@
"@rollup/pluginutils": "^4.2.1",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
- "postcss": "^8.4.13",
- "rollup-copy-transform-css": "^1.1.0"
+ "postcss": "^8.4.14",
+ "rollup-copy-transform-css": "^1.2.1"
},
"devDependencies": {
"@node-rs/deno-lint": "^1.13.1",
"builtin-modules": "^3.3.0",
- "c8": "^7.11.2",
- "rollup": "^2.73.0",
- "tehanu": "^0.2.2",
- "tehanu-repo-coco": "^0.0.2"
+ "c8": "^7.11.3",
+ "rollup": "^2.74.1",
+ "tehanu": "^1.0.0",
+ "tehanu-repo-coco": "^1.0.0",
+ "tehanu-teru": "^1.0.0"
},
"peerDependencies": {
"lit": "^2",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index e26411e..79b6ba7 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -6,27 +6,29 @@ specifiers:
'@semantic-release/changelog': ^6.0.1
'@semantic-release/git': ^10.0.1
builtin-modules: ^3.3.0
- c8: ^7.11.2
- postcss: ^8.4.13
- rollup: ^2.73.0
- rollup-copy-transform-css: ^1.1.0
- tehanu: ^0.2.2
- tehanu-repo-coco: ^0.0.2
+ c8: ^7.11.3
+ postcss: ^8.4.14
+ rollup: ^2.74.1
+ rollup-copy-transform-css: ^1.2.1
+ tehanu: ^1.0.0
+ tehanu-repo-coco: ^1.0.0
+ tehanu-teru: ^1.0.0
dependencies:
'@rollup/pluginutils': 4.2.1
'@semantic-release/changelog': 6.0.1
'@semantic-release/git': 10.0.1
- postcss: 8.4.13
- rollup-copy-transform-css: 1.1.0_rollup@2.73.0
+ postcss: 8.4.14
+ rollup-copy-transform-css: 1.2.1_rollup@2.74.1
devDependencies:
'@node-rs/deno-lint': 1.13.1
builtin-modules: 3.3.0
- c8: 7.11.2
- rollup: 2.73.0
- tehanu: 0.2.2
- tehanu-repo-coco: 0.0.2
+ c8: 7.11.3
+ rollup: 2.74.1
+ tehanu: 1.0.0
+ tehanu-repo-coco: 1.0.0
+ tehanu-teru: 1.0.0_tehanu@1.0.0
packages:
@@ -276,7 +278,7 @@ packages:
resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
/boolbase/1.0.0:
- resolution: {integrity: sha1-aN/1++YMUes3cl6p4+0xDcwed24=}
+ resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==}
dev: false
/brace-expansion/1.1.11:
@@ -309,8 +311,8 @@ packages:
engines: {node: '>=6'}
dev: true
- /c8/7.11.2:
- resolution: {integrity: sha512-6ahJSrhS6TqSghHm+HnWt/8Y2+z0hM/FQyB1ybKhAR30+NYL9CTQ1uwHxuWw6U7BHlHv6wvhgOrH81I+lfCkxg==}
+ /c8/7.11.3:
+ resolution: {integrity: sha512-6YBmsaNmqRm9OS3ZbIiL2EZgi1+Xc4O24jL3vMYGE6idixYuGdy76rIfIdltSKDj9DpLNrcXSonUTR1miBD0wA==}
engines: {node: '>=10.12.0'}
hasBin: true
dependencies:
@@ -397,13 +399,13 @@ packages:
shebang-command: 2.0.0
which: 2.0.2
- /css-declaration-sorter/6.2.2_postcss@8.4.13:
+ /css-declaration-sorter/6.2.2_postcss@8.4.14:
resolution: {integrity: sha512-Ufadglr88ZLsrvS11gjeu/40Lw74D9Am/Jpr3LlYm5Q4ZP5KdlUhG+6u2EjyXeZcxmZ2h1ebCKngDjolpeLHpg==}
engines: {node: ^10 || ^12 || >=14}
peerDependencies:
postcss: ^8.0.9
dependencies:
- postcss: 8.4.13
+ postcss: 8.4.14
dev: false
/css-select/4.3.0:
@@ -435,62 +437,62 @@ packages:
hasBin: true
dev: false
- /cssnano-preset-default/5.2.7_postcss@8.4.13:
- resolution: {integrity: sha512-JiKP38ymZQK+zVKevphPzNSGHSlTI+AOwlasoSRtSVMUU285O7/6uZyd5NbW92ZHp41m0sSHe6JoZosakj63uA==}
+ /cssnano-preset-default/5.2.9_postcss@8.4.14:
+ resolution: {integrity: sha512-/4qcQcAfFEg+gnXE5NxKmYJ9JcT+8S5SDuJCLYMDN8sM/ymZ+lgLXq5+ohx/7V2brUCkgW2OaoCzOdAN0zvhGw==}
engines: {node: ^10 || ^12 || >=14.0}
peerDependencies:
postcss: ^8.2.15
dependencies:
- css-declaration-sorter: 6.2.2_postcss@8.4.13
- cssnano-utils: 3.1.0_postcss@8.4.13
- postcss: 8.4.13
- postcss-calc: 8.2.4_postcss@8.4.13
- postcss-colormin: 5.3.0_postcss@8.4.13
- postcss-convert-values: 5.1.0_postcss@8.4.13
- postcss-discard-comments: 5.1.1_postcss@8.4.13
- postcss-discard-duplicates: 5.1.0_postcss@8.4.13
- postcss-discard-empty: 5.1.1_postcss@8.4.13
- postcss-discard-overridden: 5.1.0_postcss@8.4.13
- postcss-merge-longhand: 5.1.4_postcss@8.4.13
- postcss-merge-rules: 5.1.1_postcss@8.4.13
- postcss-minify-font-values: 5.1.0_postcss@8.4.13
- postcss-minify-gradients: 5.1.1_postcss@8.4.13
- postcss-minify-params: 5.1.2_postcss@8.4.13
- postcss-minify-selectors: 5.2.0_postcss@8.4.13
- postcss-normalize-display-values: 5.1.0_postcss@8.4.13
- postcss-normalize-charset: 5.1.0_postcss@8.4.13
- postcss-normalize-positions: 5.1.0_postcss@8.4.13
- postcss-normalize-repeat-style: 5.1.0_postcss@8.4.13
- postcss-normalize-string: 5.1.0_postcss@8.4.13
- postcss-normalize-timing-functions: 5.1.0_postcss@8.4.13
- postcss-normalize-unicode: 5.1.0_postcss@8.4.13
- postcss-normalize-url: 5.1.0_postcss@8.4.13
- postcss-normalize-whitespace: 5.1.1_postcss@8.4.13
- postcss-ordered-values: 5.1.1_postcss@8.4.13
- postcss-reduce-initial: 5.1.0_postcss@8.4.13
- postcss-reduce-transforms: 5.1.0_postcss@8.4.13
- postcss-svgo: 5.1.0_postcss@8.4.13
- postcss-unique-selectors: 5.1.1_postcss@8.4.13
- dev: false
-
- /cssnano-utils/3.1.0_postcss@8.4.13:
+ css-declaration-sorter: 6.2.2_postcss@8.4.14
+ cssnano-utils: 3.1.0_postcss@8.4.14
+ postcss: 8.4.14
+ postcss-calc: 8.2.4_postcss@8.4.14
+ postcss-colormin: 5.3.0_postcss@8.4.14
+ postcss-convert-values: 5.1.1_postcss@8.4.14
+ postcss-discard-comments: 5.1.1_postcss@8.4.14
+ postcss-discard-duplicates: 5.1.0_postcss@8.4.14
+ postcss-discard-empty: 5.1.1_postcss@8.4.14
+ postcss-discard-overridden: 5.1.0_postcss@8.4.14
+ postcss-merge-longhand: 5.1.5_postcss@8.4.14
+ postcss-merge-rules: 5.1.1_postcss@8.4.14
+ postcss-minify-font-values: 5.1.0_postcss@8.4.14
+ postcss-minify-gradients: 5.1.1_postcss@8.4.14
+ postcss-minify-params: 5.1.3_postcss@8.4.14
+ postcss-minify-selectors: 5.2.0_postcss@8.4.14
+ postcss-normalize-display-values: 5.1.0_postcss@8.4.14
+ postcss-normalize-charset: 5.1.0_postcss@8.4.14
+ postcss-normalize-positions: 5.1.0_postcss@8.4.14
+ postcss-normalize-repeat-style: 5.1.0_postcss@8.4.14
+ postcss-normalize-string: 5.1.0_postcss@8.4.14
+ postcss-normalize-timing-functions: 5.1.0_postcss@8.4.14
+ postcss-normalize-unicode: 5.1.0_postcss@8.4.14
+ postcss-normalize-url: 5.1.0_postcss@8.4.14
+ postcss-normalize-whitespace: 5.1.1_postcss@8.4.14
+ postcss-ordered-values: 5.1.1_postcss@8.4.14
+ postcss-reduce-initial: 5.1.0_postcss@8.4.14
+ postcss-reduce-transforms: 5.1.0_postcss@8.4.14
+ postcss-svgo: 5.1.0_postcss@8.4.14
+ postcss-unique-selectors: 5.1.1_postcss@8.4.14
+ dev: false
+
+ /cssnano-utils/3.1.0_postcss@8.4.14:
resolution: {integrity: sha512-JQNR19/YZhz4psLX/rQ9M83e3z2Wf/HdJbryzte4a3NSuafyp9w/I4U+hx5C2S9g41qlstH7DEWnZaaj83OuEA==}
engines: {node: ^10 || ^12 || >=14.0}
peerDependencies:
postcss: ^8.2.15
dependencies:
- postcss: 8.4.13
+ postcss: 8.4.14
dev: false
- /cssnano/5.1.7_postcss@8.4.13:
- resolution: {integrity: sha512-pVsUV6LcTXif7lvKKW9ZrmX+rGRzxkEdJuVJcp5ftUjWITgwam5LMZOgaTvUrWPkcORBey6he7JKb4XAJvrpKg==}
+ /cssnano/5.1.9_postcss@8.4.14:
+ resolution: {integrity: sha512-hctQHIIeDrfMjq0bQhoVmRVaSeNNOGxkvkKVOcKpJzLr09wlRrZWH4GaYudp0aszpW8wJeaO5/yBmID9n7DNCg==}
engines: {node: ^10 || ^12 || >=14.0}
peerDependencies:
postcss: ^8.2.15
dependencies:
- cssnano-preset-default: 5.2.7_postcss@8.4.13
+ cssnano-preset-default: 5.2.9_postcss@8.4.14
lilconfig: 2.0.5
- postcss: 8.4.13
+ postcss: 8.4.14
yaml: 1.10.2
dev: false
@@ -563,6 +565,214 @@ packages:
resolution: {integrity: sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==}
dev: false
+ /esbuild-android-64/0.14.39:
+ resolution: {integrity: sha512-EJOu04p9WgZk0UoKTqLId9VnIsotmI/Z98EXrKURGb3LPNunkeffqQIkjS2cAvidh+OK5uVrXaIP229zK6GvhQ==}
+ engines: {node: '>=12'}
+ cpu: [x64]
+ os: [android]
+ requiresBuild: true
+ dev: false
+ optional: true
+
+ /esbuild-android-arm64/0.14.39:
+ resolution: {integrity: sha512-+twajJqO7n3MrCz9e+2lVOnFplRsaGRwsq1KL/uOy7xK7QdRSprRQcObGDeDZUZsacD5gUkk6OiHiYp6RzU3CA==}
+ engines: {node: '>=12'}
+ cpu: [arm64]
+ os: [android]
+ requiresBuild: true
+ dev: false
+ optional: true
+
+ /esbuild-darwin-64/0.14.39:
+ resolution: {integrity: sha512-ImT6eUw3kcGcHoUxEcdBpi6LfTRWaV6+qf32iYYAfwOeV+XaQ/Xp5XQIBiijLeo+LpGci9M0FVec09nUw41a5g==}
+ engines: {node: '>=12'}
+ cpu: [x64]
+ os: [darwin]
+ requiresBuild: true
+ dev: false
+ optional: true
+
+ /esbuild-darwin-arm64/0.14.39:
+ resolution: {integrity: sha512-/fcQ5UhE05OiT+bW5v7/up1bDsnvaRZPJxXwzXsMRrr7rZqPa85vayrD723oWMT64dhrgWeA3FIneF8yER0XTw==}
+ engines: {node: '>=12'}
+ cpu: [arm64]
+ os: [darwin]
+ requiresBuild: true
+ dev: false
+ optional: true
+
+ /esbuild-freebsd-64/0.14.39:
+ resolution: {integrity: sha512-oMNH8lJI4wtgN5oxuFP7BQ22vgB/e3Tl5Woehcd6i2r6F3TszpCnNl8wo2d/KvyQ4zvLvCWAlRciumhQg88+kQ==}
+ engines: {node: '>=12'}
+ cpu: [x64]
+ os: [freebsd]
+ requiresBuild: true
+ dev: false
+ optional: true
+
+ /esbuild-freebsd-arm64/0.14.39:
+ resolution: {integrity: sha512-1GHK7kwk57ukY2yI4ILWKJXaxfr+8HcM/r/JKCGCPziIVlL+Wi7RbJ2OzMcTKZ1HpvEqCTBT/J6cO4ZEwW4Ypg==}
+ engines: {node: '>=12'}
+ cpu: [arm64]
+ os: [freebsd]
+ requiresBuild: true
+ dev: false
+ optional: true
+
+ /esbuild-linux-32/0.14.39:
+ resolution: {integrity: sha512-g97Sbb6g4zfRLIxHgW2pc393DjnkTRMeq3N1rmjDUABxpx8SjocK4jLen+/mq55G46eE2TA0MkJ4R3SpKMu7dg==}
+ engines: {node: '>=12'}
+ cpu: [ia32]
+ os: [linux]
+ requiresBuild: true
+ dev: false
+ optional: true
+
+ /esbuild-linux-64/0.14.39:
+ resolution: {integrity: sha512-4tcgFDYWdI+UbNMGlua9u1Zhu0N5R6u9tl5WOM8aVnNX143JZoBZLpCuUr5lCKhnD0SCO+5gUyMfupGrHtfggQ==}
+ engines: {node: '>=12'}
+ cpu: [x64]
+ os: [linux]
+ requiresBuild: true
+ dev: false
+ optional: true
+
+ /esbuild-linux-arm/0.14.39:
+ resolution: {integrity: sha512-t0Hn1kWVx5UpCzAJkKRfHeYOLyFnXwYynIkK54/h3tbMweGI7dj400D1k0Vvtj2u1P+JTRT9tx3AjtLEMmfVBQ==}
+ engines: {node: '>=12'}
+ cpu: [arm]
+ os: [linux]
+ requiresBuild: true
+ dev: false
+ optional: true
+
+ /esbuild-linux-arm64/0.14.39:
+ resolution: {integrity: sha512-23pc8MlD2D6Px1mV8GMglZlKgwgNKAO8gsgsLLcXWSs9lQsCYkIlMo/2Ycfo5JrDIbLdwgP8D2vpfH2KcBqrDQ==}
+ engines: {node: '>=12'}
+ cpu: [arm64]
+ os: [linux]
+ requiresBuild: true
+ dev: false
+ optional: true
+
+ /esbuild-linux-mips64le/0.14.39:
+ resolution: {integrity: sha512-epwlYgVdbmkuRr5n4es3B+yDI0I2e/nxhKejT9H0OLxFAlMkeQZxSpxATpDc9m8NqRci6Kwyb/SfmD1koG2Zuw==}
+ engines: {node: '>=12'}
+ cpu: [mips64el]
+ os: [linux]
+ requiresBuild: true
+ dev: false
+ optional: true
+
+ /esbuild-linux-ppc64le/0.14.39:
+ resolution: {integrity: sha512-W/5ezaq+rQiQBThIjLMNjsuhPHg+ApVAdTz2LvcuesZFMsJoQAW2hutoyg47XxpWi7aEjJGrkS26qCJKhRn3QQ==}
+ engines: {node: '>=12'}
+ cpu: [ppc64]
+ os: [linux]
+ requiresBuild: true
+ dev: false
+ optional: true
+
+ /esbuild-linux-riscv64/0.14.39:
+ resolution: {integrity: sha512-IS48xeokcCTKeQIOke2O0t9t14HPvwnZcy+5baG13Z1wxs9ZrC5ig5ypEQQh4QMKxURD5TpCLHw2W42CLuVZaA==}
+ engines: {node: '>=12'}
+ cpu: [riscv64]
+ os: [linux]
+ requiresBuild: true
+ dev: false
+ optional: true
+
+ /esbuild-linux-s390x/0.14.39:
+ resolution: {integrity: sha512-zEfunpqR8sMomqXhNTFEKDs+ik7HC01m3M60MsEjZOqaywHu5e5682fMsqOlZbesEAAaO9aAtRBsU7CHnSZWyA==}
+ engines: {node: '>=12'}
+ cpu: [s390x]
+ os: [linux]
+ requiresBuild: true
+ dev: false
+ optional: true
+
+ /esbuild-netbsd-64/0.14.39:
+ resolution: {integrity: sha512-Uo2suJBSIlrZCe4E0k75VDIFJWfZy+bOV6ih3T4MVMRJh1lHJ2UyGoaX4bOxomYN3t+IakHPyEoln1+qJ1qYaA==}
+ engines: {node: '>=12'}
+ cpu: [x64]
+ os: [netbsd]
+ requiresBuild: true
+ dev: false
+ optional: true
+
+ /esbuild-openbsd-64/0.14.39:
+ resolution: {integrity: sha512-secQU+EpgUPpYjJe3OecoeGKVvRMLeKUxSMGHnK+aK5uQM3n1FPXNJzyz1LHFOo0WOyw+uoCxBYdM4O10oaCAA==}
+ engines: {node: '>=12'}
+ cpu: [x64]
+ os: [openbsd]
+ requiresBuild: true
+ dev: false
+ optional: true
+
+ /esbuild-sunos-64/0.14.39:
+ resolution: {integrity: sha512-qHq0t5gePEDm2nqZLb+35p/qkaXVS7oIe32R0ECh2HOdiXXkj/1uQI9IRogGqKkK+QjDG+DhwiUw7QoHur/Rwg==}
+ engines: {node: '>=12'}
+ cpu: [x64]
+ os: [sunos]
+ requiresBuild: true
+ dev: false
+ optional: true
+
+ /esbuild-windows-32/0.14.39:
+ resolution: {integrity: sha512-XPjwp2OgtEX0JnOlTgT6E5txbRp6Uw54Isorm3CwOtloJazeIWXuiwK0ONJBVb/CGbiCpS7iP2UahGgd2p1x+Q==}
+ engines: {node: '>=12'}
+ cpu: [ia32]
+ os: [win32]
+ requiresBuild: true
+ dev: false
+ optional: true
+
+ /esbuild-windows-64/0.14.39:
+ resolution: {integrity: sha512-E2wm+5FwCcLpKsBHRw28bSYQw0Ikxb7zIMxw3OPAkiaQhLVr3dnVO8DofmbWhhf6b97bWzg37iSZ45ZDpLw7Ow==}
+ engines: {node: '>=12'}
+ cpu: [x64]
+ os: [win32]
+ requiresBuild: true
+ dev: false
+ optional: true
+
+ /esbuild-windows-arm64/0.14.39:
+ resolution: {integrity: sha512-sBZQz5D+Gd0EQ09tZRnz/PpVdLwvp/ufMtJ1iDFYddDaPpZXKqPyaxfYBLs3ueiaksQ26GGa7sci0OqFzNs7KA==}
+ engines: {node: '>=12'}
+ cpu: [arm64]
+ os: [win32]
+ requiresBuild: true
+ dev: false
+ optional: true
+
+ /esbuild/0.14.39:
+ resolution: {integrity: sha512-2kKujuzvRWYtwvNjYDY444LQIA3TyJhJIX3Yo4+qkFlDDtGlSicWgeHVJqMUP/2sSfH10PGwfsj+O2ro1m10xQ==}
+ engines: {node: '>=12'}
+ hasBin: true
+ requiresBuild: true
+ optionalDependencies:
+ esbuild-android-64: 0.14.39
+ esbuild-android-arm64: 0.14.39
+ esbuild-darwin-64: 0.14.39
+ esbuild-darwin-arm64: 0.14.39
+ esbuild-freebsd-64: 0.14.39
+ esbuild-freebsd-arm64: 0.14.39
+ esbuild-linux-32: 0.14.39
+ esbuild-linux-64: 0.14.39
+ esbuild-linux-arm: 0.14.39
+ esbuild-linux-arm64: 0.14.39
+ esbuild-linux-mips64le: 0.14.39
+ esbuild-linux-ppc64le: 0.14.39
+ esbuild-linux-riscv64: 0.14.39
+ esbuild-linux-s390x: 0.14.39
+ esbuild-netbsd-64: 0.14.39
+ esbuild-openbsd-64: 0.14.39
+ esbuild-sunos-64: 0.14.39
+ esbuild-windows-32: 0.14.39
+ esbuild-windows-64: 0.14.39
+ esbuild-windows-arm64: 0.14.39
+ dev: false
+
/escalade/3.1.1:
resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==}
engines: {node: '>=6'}
@@ -628,7 +838,6 @@ packages:
engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
os: [darwin]
requiresBuild: true
- dev: true
optional: true
/function-bind/1.1.1:
@@ -656,6 +865,14 @@ packages:
path-is-absolute: 1.0.1
dev: true
+ /globalyzer/0.1.0:
+ resolution: {integrity: sha512-40oNTM9UfG6aBmuKxk/giHn5nQ8RVz/SS4Ir6zgzOv9/qC3kKZ9v4etGTcJbEl/NyVQH7FGU7d+X1egr57Md2Q==}
+ dev: true
+
+ /globrex/0.1.2:
+ resolution: {integrity: sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==}
+ dev: true
+
/graceful-fs/4.2.10:
resolution: {integrity: sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==}
dev: false
@@ -921,17 +1138,17 @@ packages:
engines: {node: '>=0.10.0'}
dev: false
- /postcss-calc/8.2.4_postcss@8.4.13:
+ /postcss-calc/8.2.4_postcss@8.4.14:
resolution: {integrity: sha512-SmWMSJmB8MRnnULldx0lQIyhSNvuDl9HfrZkaqqE/WHAhToYsAvDq+yAsA/kIyINDszOp3Rh0GFoNuH5Ypsm3Q==}
peerDependencies:
postcss: ^8.2.2
dependencies:
- postcss: 8.4.13
+ postcss: 8.4.14
postcss-selector-parser: 6.0.10
postcss-value-parser: 4.2.0
dev: false
- /postcss-colormin/5.3.0_postcss@8.4.13:
+ /postcss-colormin/5.3.0_postcss@8.4.14:
resolution: {integrity: sha512-WdDO4gOFG2Z8n4P8TWBpshnL3JpmNmJwdnfP2gbk2qBA8PWwOYcmjmI/t3CmMeL72a7Hkd+x/Mg9O2/0rD54Pg==}
engines: {node: ^10 || ^12 || >=14.0}
peerDependencies:
@@ -940,89 +1157,90 @@ packages:
browserslist: 4.20.3
caniuse-api: 3.0.0
colord: 2.9.2
- postcss: 8.4.13
+ postcss: 8.4.14
postcss-value-parser: 4.2.0
dev: false
- /postcss-convert-values/5.1.0_postcss@8.4.13:
- resolution: {integrity: sha512-GkyPbZEYJiWtQB0KZ0X6qusqFHUepguBCNFi9t5JJc7I2OTXG7C0twbTLvCfaKOLl3rSXmpAwV7W5txd91V84g==}
+ /postcss-convert-values/5.1.1_postcss@8.4.14:
+ resolution: {integrity: sha512-UjcYfl3wJJdcabGKk8lgetPvhi1Et7VDc3sYr9EyhNBeB00YD4vHgPBp+oMVoG/dDWCc6ASbmzPNV6jADTwh8Q==}
engines: {node: ^10 || ^12 || >=14.0}
peerDependencies:
postcss: ^8.2.15
dependencies:
- postcss: 8.4.13
+ browserslist: 4.20.3
+ postcss: 8.4.14
postcss-value-parser: 4.2.0
dev: false
- /postcss-discard-comments/5.1.1_postcss@8.4.13:
+ /postcss-discard-comments/5.1.1_postcss@8.4.14:
resolution: {integrity: sha512-5JscyFmvkUxz/5/+TB3QTTT9Gi9jHkcn8dcmmuN68JQcv3aQg4y88yEHHhwFB52l/NkaJ43O0dbksGMAo49nfQ==}
engines: {node: ^10 || ^12 || >=14.0}
peerDependencies:
postcss: ^8.2.15
dependencies:
- postcss: 8.4.13
+ postcss: 8.4.14
dev: false
- /postcss-discard-duplicates/5.1.0_postcss@8.4.13:
+ /postcss-discard-duplicates/5.1.0_postcss@8.4.14:
resolution: {integrity: sha512-zmX3IoSI2aoenxHV6C7plngHWWhUOV3sP1T8y2ifzxzbtnuhk1EdPwm0S1bIUNaJ2eNbWeGLEwzw8huPD67aQw==}
engines: {node: ^10 || ^12 || >=14.0}
peerDependencies:
postcss: ^8.2.15
dependencies:
- postcss: 8.4.13
+ postcss: 8.4.14
dev: false
- /postcss-discard-empty/5.1.1_postcss@8.4.13:
+ /postcss-discard-empty/5.1.1_postcss@8.4.14:
resolution: {integrity: sha512-zPz4WljiSuLWsI0ir4Mcnr4qQQ5e1Ukc3i7UfE2XcrwKK2LIPIqE5jxMRxO6GbI3cv//ztXDsXwEWT3BHOGh3A==}
engines: {node: ^10 || ^12 || >=14.0}
peerDependencies:
postcss: ^8.2.15
dependencies:
- postcss: 8.4.13
+ postcss: 8.4.14
dev: false
- /postcss-discard-overridden/5.1.0_postcss@8.4.13:
+ /postcss-discard-overridden/5.1.0_postcss@8.4.14:
resolution: {integrity: sha512-21nOL7RqWR1kasIVdKs8HNqQJhFxLsyRfAnUDm4Fe4t4mCWL9OJiHvlHPjcd8zc5Myu89b/7wZDnOSjFgeWRtw==}
engines: {node: ^10 || ^12 || >=14.0}
peerDependencies:
postcss: ^8.2.15
dependencies:
- postcss: 8.4.13
+ postcss: 8.4.14
dev: false
- /postcss-fail-on-warn/0.2.1_postcss@8.4.13:
+ /postcss-fail-on-warn/0.2.1_postcss@8.4.14:
resolution: {integrity: sha512-WITa+kj67cZzPwDXsdcKyfIGFDoeUTHDhA7tW8o70k1P5QwdZfz5YdTDTTb5MvpSFtm+NnsCMjhPrvqxQzcO5g==}
engines: {node: '>=12.0'}
peerDependencies:
postcss: ^8.2.14
dependencies:
- postcss: 8.4.13
+ postcss: 8.4.14
dev: false
- /postcss-import/14.1.0_postcss@8.4.13:
+ /postcss-import/14.1.0_postcss@8.4.14:
resolution: {integrity: sha512-flwI+Vgm4SElObFVPpTIT7SU7R3qk2L7PyduMcokiaVKuWv9d/U+Gm/QAd8NDLuykTWTkcrjOeD2Pp1rMeBTGw==}
engines: {node: '>=10.0.0'}
peerDependencies:
postcss: ^8.0.0
dependencies:
- postcss: 8.4.13
+ postcss: 8.4.14
postcss-value-parser: 4.2.0
read-cache: 1.0.0
resolve: 1.22.0
dev: false
- /postcss-merge-longhand/5.1.4_postcss@8.4.13:
- resolution: {integrity: sha512-hbqRRqYfmXoGpzYKeW0/NCZhvNyQIlQeWVSao5iKWdyx7skLvCfQFGIUsP9NUs3dSbPac2IC4Go85/zG+7MlmA==}
+ /postcss-merge-longhand/5.1.5_postcss@8.4.14:
+ resolution: {integrity: sha512-NOG1grw9wIO+60arKa2YYsrbgvP6tp+jqc7+ZD5/MalIw234ooH2C6KlR6FEn4yle7GqZoBxSK1mLBE9KPur6w==}
engines: {node: ^10 || ^12 || >=14.0}
peerDependencies:
postcss: ^8.2.15
dependencies:
- postcss: 8.4.13
+ postcss: 8.4.14
postcss-value-parser: 4.2.0
- stylehacks: 5.1.0_postcss@8.4.13
+ stylehacks: 5.1.0_postcss@8.4.14
dev: false
- /postcss-merge-rules/5.1.1_postcss@8.4.13:
+ /postcss-merge-rules/5.1.1_postcss@8.4.14:
resolution: {integrity: sha512-8wv8q2cXjEuCcgpIB1Xx1pIy8/rhMPIQqYKNzEdyx37m6gpq83mQQdCxgIkFgliyEnKvdwJf/C61vN4tQDq4Ww==}
engines: {node: ^10 || ^12 || >=14.0}
peerDependencies:
@@ -1030,158 +1248,158 @@ packages:
dependencies:
browserslist: 4.20.3
caniuse-api: 3.0.0
- cssnano-utils: 3.1.0_postcss@8.4.13
- postcss: 8.4.13
+ cssnano-utils: 3.1.0_postcss@8.4.14
+ postcss: 8.4.14
postcss-selector-parser: 6.0.10
dev: false
- /postcss-minify-font-values/5.1.0_postcss@8.4.13:
+ /postcss-minify-font-values/5.1.0_postcss@8.4.14:
resolution: {integrity: sha512-el3mYTgx13ZAPPirSVsHqFzl+BBBDrXvbySvPGFnQcTI4iNslrPaFq4muTkLZmKlGk4gyFAYUBMH30+HurREyA==}
engines: {node: ^10 || ^12 || >=14.0}
peerDependencies:
postcss: ^8.2.15
dependencies:
- postcss: 8.4.13
+ postcss: 8.4.14
postcss-value-parser: 4.2.0
dev: false
- /postcss-minify-gradients/5.1.1_postcss@8.4.13:
+ /postcss-minify-gradients/5.1.1_postcss@8.4.14:
resolution: {integrity: sha512-VGvXMTpCEo4qHTNSa9A0a3D+dxGFZCYwR6Jokk+/3oB6flu2/PnPXAh2x7x52EkY5xlIHLm+Le8tJxe/7TNhzw==}
engines: {node: ^10 || ^12 || >=14.0}
peerDependencies:
postcss: ^8.2.15
dependencies:
colord: 2.9.2
- cssnano-utils: 3.1.0_postcss@8.4.13
- postcss: 8.4.13
+ cssnano-utils: 3.1.0_postcss@8.4.14
+ postcss: 8.4.14
postcss-value-parser: 4.2.0
dev: false
- /postcss-minify-params/5.1.2_postcss@8.4.13:
- resolution: {integrity: sha512-aEP+p71S/urY48HWaRHasyx4WHQJyOYaKpQ6eXl8k0kxg66Wt/30VR6/woh8THgcpRbonJD5IeD+CzNhPi1L8g==}
+ /postcss-minify-params/5.1.3_postcss@8.4.14:
+ resolution: {integrity: sha512-bkzpWcjykkqIujNL+EVEPOlLYi/eZ050oImVtHU7b4lFS82jPnsCb44gvC6pxaNt38Els3jWYDHTjHKf0koTgg==}
engines: {node: ^10 || ^12 || >=14.0}
peerDependencies:
postcss: ^8.2.15
dependencies:
browserslist: 4.20.3
- cssnano-utils: 3.1.0_postcss@8.4.13
- postcss: 8.4.13
+ cssnano-utils: 3.1.0_postcss@8.4.14
+ postcss: 8.4.14
postcss-value-parser: 4.2.0
dev: false
- /postcss-minify-selectors/5.2.0_postcss@8.4.13:
+ /postcss-minify-selectors/5.2.0_postcss@8.4.14:
resolution: {integrity: sha512-vYxvHkW+iULstA+ctVNx0VoRAR4THQQRkG77o0oa4/mBS0OzGvvzLIvHDv/nNEM0crzN2WIyFU5X7wZhaUK3RA==}
engines: {node: ^10 || ^12 || >=14.0}
peerDependencies:
postcss: ^8.2.15
dependencies:
- postcss: 8.4.13
+ postcss: 8.4.14
postcss-selector-parser: 6.0.10
dev: false
- /postcss-normalize-charset/5.1.0_postcss@8.4.13:
+ /postcss-normalize-charset/5.1.0_postcss@8.4.14:
resolution: {integrity: sha512-mSgUJ+pd/ldRGVx26p2wz9dNZ7ji6Pn8VWBajMXFf8jk7vUoSrZ2lt/wZR7DtlZYKesmZI680qjr2CeFF2fbUg==}
engines: {node: ^10 || ^12 || >=14.0}
peerDependencies:
postcss: ^8.2.15
dependencies:
- postcss: 8.4.13
+ postcss: 8.4.14
dev: false
- /postcss-normalize-display-values/5.1.0_postcss@8.4.13:
+ /postcss-normalize-display-values/5.1.0_postcss@8.4.14:
resolution: {integrity: sha512-WP4KIM4o2dazQXWmFaqMmcvsKmhdINFblgSeRgn8BJ6vxaMyaJkwAzpPpuvSIoG/rmX3M+IrRZEz2H0glrQNEA==}
engines: {node: ^10 || ^12 || >=14.0}
peerDependencies:
postcss: ^8.2.15
dependencies:
- postcss: 8.4.13
+ postcss: 8.4.14
postcss-value-parser: 4.2.0
dev: false
- /postcss-normalize-positions/5.1.0_postcss@8.4.13:
+ /postcss-normalize-positions/5.1.0_postcss@8.4.14:
resolution: {integrity: sha512-8gmItgA4H5xiUxgN/3TVvXRoJxkAWLW6f/KKhdsH03atg0cB8ilXnrB5PpSshwVu/dD2ZsRFQcR1OEmSBDAgcQ==}
engines: {node: ^10 || ^12 || >=14.0}
peerDependencies:
postcss: ^8.2.15
dependencies:
- postcss: 8.4.13
+ postcss: 8.4.14
postcss-value-parser: 4.2.0
dev: false
- /postcss-normalize-repeat-style/5.1.0_postcss@8.4.13:
+ /postcss-normalize-repeat-style/5.1.0_postcss@8.4.14:
resolution: {integrity: sha512-IR3uBjc+7mcWGL6CtniKNQ4Rr5fTxwkaDHwMBDGGs1x9IVRkYIT/M4NelZWkAOBdV6v3Z9S46zqaKGlyzHSchw==}
engines: {node: ^10 || ^12 || >=14.0}
peerDependencies:
postcss: ^8.2.15
dependencies:
- postcss: 8.4.13
+ postcss: 8.4.14
postcss-value-parser: 4.2.0
dev: false
- /postcss-normalize-string/5.1.0_postcss@8.4.13:
+ /postcss-normalize-string/5.1.0_postcss@8.4.14:
resolution: {integrity: sha512-oYiIJOf4T9T1N4i+abeIc7Vgm/xPCGih4bZz5Nm0/ARVJ7K6xrDlLwvwqOydvyL3RHNf8qZk6vo3aatiw/go3w==}
engines: {node: ^10 || ^12 || >=14.0}
peerDependencies:
postcss: ^8.2.15
dependencies:
- postcss: 8.4.13
+ postcss: 8.4.14
postcss-value-parser: 4.2.0
dev: false
- /postcss-normalize-timing-functions/5.1.0_postcss@8.4.13:
+ /postcss-normalize-timing-functions/5.1.0_postcss@8.4.14:
resolution: {integrity: sha512-DOEkzJ4SAXv5xkHl0Wa9cZLF3WCBhF3o1SKVxKQAa+0pYKlueTpCgvkFAHfk+Y64ezX9+nITGrDZeVGgITJXjg==}
engines: {node: ^10 || ^12 || >=14.0}
peerDependencies:
postcss: ^8.2.15
dependencies:
- postcss: 8.4.13
+ postcss: 8.4.14
postcss-value-parser: 4.2.0
dev: false
- /postcss-normalize-unicode/5.1.0_postcss@8.4.13:
+ /postcss-normalize-unicode/5.1.0_postcss@8.4.14:
resolution: {integrity: sha512-J6M3MizAAZ2dOdSjy2caayJLQT8E8K9XjLce8AUQMwOrCvjCHv24aLC/Lps1R1ylOfol5VIDMaM/Lo9NGlk1SQ==}
engines: {node: ^10 || ^12 || >=14.0}
peerDependencies:
postcss: ^8.2.15
dependencies:
browserslist: 4.20.3
- postcss: 8.4.13
+ postcss: 8.4.14
postcss-value-parser: 4.2.0
dev: false
- /postcss-normalize-url/5.1.0_postcss@8.4.13:
+ /postcss-normalize-url/5.1.0_postcss@8.4.14:
resolution: {integrity: sha512-5upGeDO+PVthOxSmds43ZeMeZfKH+/DKgGRD7TElkkyS46JXAUhMzIKiCa7BabPeIy3AQcTkXwVVN7DbqsiCew==}
engines: {node: ^10 || ^12 || >=14.0}
peerDependencies:
postcss: ^8.2.15
dependencies:
normalize-url: 6.1.0
- postcss: 8.4.13
+ postcss: 8.4.14
postcss-value-parser: 4.2.0
dev: false
- /postcss-normalize-whitespace/5.1.1_postcss@8.4.13:
+ /postcss-normalize-whitespace/5.1.1_postcss@8.4.14:
resolution: {integrity: sha512-83ZJ4t3NUDETIHTa3uEg6asWjSBYL5EdkVB0sDncx9ERzOKBVJIUeDO9RyA9Zwtig8El1d79HBp0JEi8wvGQnA==}
engines: {node: ^10 || ^12 || >=14.0}
peerDependencies:
postcss: ^8.2.15
dependencies:
- postcss: 8.4.13
+ postcss: 8.4.14
postcss-value-parser: 4.2.0
dev: false
- /postcss-ordered-values/5.1.1_postcss@8.4.13:
+ /postcss-ordered-values/5.1.1_postcss@8.4.14:
resolution: {integrity: sha512-7lxgXF0NaoMIgyihL/2boNAEZKiW0+HkMhdKMTD93CjW8TdCy2hSdj8lsAo+uwm7EDG16Da2Jdmtqpedl0cMfw==}
engines: {node: ^10 || ^12 || >=14.0}
peerDependencies:
postcss: ^8.2.15
dependencies:
- cssnano-utils: 3.1.0_postcss@8.4.13
- postcss: 8.4.13
+ cssnano-utils: 3.1.0_postcss@8.4.14
+ postcss: 8.4.14
postcss-value-parser: 4.2.0
dev: false
- /postcss-reduce-initial/5.1.0_postcss@8.4.13:
+ /postcss-reduce-initial/5.1.0_postcss@8.4.14:
resolution: {integrity: sha512-5OgTUviz0aeH6MtBjHfbr57tml13PuedK/Ecg8szzd4XRMbYxH4572JFG067z+FqBIf6Zp/d+0581glkvvWMFw==}
engines: {node: ^10 || ^12 || >=14.0}
peerDependencies:
@@ -1189,16 +1407,16 @@ packages:
dependencies:
browserslist: 4.20.3
caniuse-api: 3.0.0
- postcss: 8.4.13
+ postcss: 8.4.14
dev: false
- /postcss-reduce-transforms/5.1.0_postcss@8.4.13:
+ /postcss-reduce-transforms/5.1.0_postcss@8.4.14:
resolution: {integrity: sha512-2fbdbmgir5AvpW9RLtdONx1QoYG2/EtqpNQbFASDlixBbAYuTcJ0dECwlqNqH7VbaUnEnh8SrxOe2sRIn24XyQ==}
engines: {node: ^10 || ^12 || >=14.0}
peerDependencies:
postcss: ^8.2.15
dependencies:
- postcss: 8.4.13
+ postcss: 8.4.14
postcss-value-parser: 4.2.0
dev: false
@@ -1210,28 +1428,28 @@ packages:
util-deprecate: 1.0.2
dev: false
- /postcss-svgo/5.1.0_postcss@8.4.13:
+ /postcss-svgo/5.1.0_postcss@8.4.14:
resolution: {integrity: sha512-D75KsH1zm5ZrHyxPakAxJWtkyXew5qwS70v56exwvw542d9CRtTo78K0WeFxZB4G7JXKKMbEZtZayTGdIky/eA==}
engines: {node: ^10 || ^12 || >=14.0}
peerDependencies:
postcss: ^8.2.15
dependencies:
- postcss: 8.4.13
+ postcss: 8.4.14
postcss-value-parser: 4.2.0
svgo: 2.8.0
dev: false
- /postcss-unique-selectors/5.1.1_postcss@8.4.13:
+ /postcss-unique-selectors/5.1.1_postcss@8.4.14:
resolution: {integrity: sha512-5JiODlELrz8L2HwxfPnhOWZYWDxVHWL83ufOv84NrcgipI7TaeRsatAhK4Tr2/ZiYldpK/wBvw5BD3qfaK96GA==}
engines: {node: ^10 || ^12 || >=14.0}
peerDependencies:
postcss: ^8.2.15
dependencies:
- postcss: 8.4.13
+ postcss: 8.4.14
postcss-selector-parser: 6.0.10
dev: false
- /postcss-url/10.1.3_postcss@8.4.13:
+ /postcss-url/10.1.3_postcss@8.4.14:
resolution: {integrity: sha512-FUzyxfI5l2tKmXdYc6VTu3TWZsInayEKPbiyW+P6vmmIrrb4I6CGX0BFoewgYHLK+oIL5FECEK02REYRpBvUCw==}
engines: {node: '>=10'}
peerDependencies:
@@ -1240,7 +1458,7 @@ packages:
make-dir: 3.1.0
mime: 2.5.2
minimatch: 3.0.8
- postcss: 8.4.13
+ postcss: 8.4.14
xxhashjs: 0.2.2
dev: false
@@ -1248,8 +1466,8 @@ packages:
resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==}
dev: false
- /postcss/8.4.13:
- resolution: {integrity: sha512-jtL6eTBrza5MPzy8oJLFuUscHDXTV5KcLlqAWHl5q5WYRfnNRGSmOZmOZ1T6Gy7A99mOZfqungmZMpMmCVJ8ZA==}
+ /postcss/8.4.14:
+ resolution: {integrity: sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==}
engines: {node: ^10 || ^12 || >=14}
dependencies:
nanoid: 3.3.4
@@ -1284,29 +1502,28 @@ packages:
glob: 7.2.0
dev: true
- /rollup-copy-transform-css/1.1.0_rollup@2.73.0:
- resolution: {integrity: sha512-VNuvyaawaK59SIv4yfeTHlM3huaJSXyyJBpVhcA6XdoqND3ATPgS/i7Y0p1O46dj7Fx2bhaE3RxFkb0qHjG+dg==}
+ /rollup-copy-transform-css/1.2.1_rollup@2.74.1:
+ resolution: {integrity: sha512-BoCC2czCnRbHHWePWvfUK3VCL+HNhUtrPIIzGzHVkA+O7DSIPHYFwpSUpvGniJjBzvx59Z2Xb5BRde34NyJTWw==}
engines: {node: '>= 14'}
peerDependencies:
rollup: ^2.0.0
- rollup-plugin-copy: ^3.0.0
dependencies:
- cssnano: 5.1.7_postcss@8.4.13
+ cssnano: 5.1.9_postcss@8.4.14
+ esbuild: 0.14.39
picomatch: 2.3.1
- postcss: 8.4.13
- postcss-fail-on-warn: 0.2.1_postcss@8.4.13
- postcss-import: 14.1.0_postcss@8.4.13
- postcss-url: 10.1.3_postcss@8.4.13
- rollup: 2.73.0
+ postcss: 8.4.14
+ postcss-fail-on-warn: 0.2.1_postcss@8.4.14
+ postcss-import: 14.1.0_postcss@8.4.14
+ postcss-url: 10.1.3_postcss@8.4.14
+ rollup: 2.74.1
dev: false
- /rollup/2.73.0:
- resolution: {integrity: sha512-h/UngC3S4Zt28mB3g0+2YCMegT5yoftnQplwzPqGZcKvlld5e+kT/QRmJiL+qxGyZKOYpgirWGdLyEO1b0dpLQ==}
+ /rollup/2.74.1:
+ resolution: {integrity: sha512-K2zW7kV8Voua5eGkbnBtWYfMIhYhT9Pel2uhBk2WO5eMee161nPze/XRfvEQPFYz7KgrCCnmh2Wy0AMFLGGmMA==}
engines: {node: '>=10.0.0'}
hasBin: true
optionalDependencies:
fsevents: 2.3.2
- dev: true
/safe-buffer/5.1.2:
resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==}
@@ -1364,14 +1581,14 @@ packages:
engines: {node: '>=6'}
dev: false
- /stylehacks/5.1.0_postcss@8.4.13:
+ /stylehacks/5.1.0_postcss@8.4.14:
resolution: {integrity: sha512-SzLmvHQTrIWfSgljkQCw2++C9+Ne91d/6Sp92I8c5uHTcy/PgeHamwITIbBW9wnFTY/3ZfSXR9HIL6Ikqmcu6Q==}
engines: {node: ^10 || ^12 || >=14.0}
peerDependencies:
postcss: ^8.2.15
dependencies:
browserslist: 4.20.3
- postcss: 8.4.13
+ postcss: 8.4.14
postcss-selector-parser: 6.0.10
dev: false
@@ -1401,13 +1618,24 @@ packages:
stable: 0.1.8
dev: false
- /tehanu-repo-coco/0.0.2:
- resolution: {integrity: sha512-99Y75UlW/pUGpXgSLiFQba2m6xXyVm9cUcMwki9XCjKA5//Lb44LGnSRijBWbzbIvMbgsFX3tyEV49wb3xlgNQ==}
- engines: {node: '>=12'}
+ /tehanu-repo-coco/1.0.0:
+ resolution: {integrity: sha512-5EtlmoYStrYmj0ODjYP+jcbMwQCxYpxY9qtfbrtqfDcagHusZlhYNPz1hhh7ykxhIwy5p3Yp/+lO5ZWbhbHdIg==}
+ engines: {node: '>=14.13'}
dev: true
- /tehanu/0.2.2:
- resolution: {integrity: sha512-N4TZWIWMQD9Y8ZPYtCTYyWJSKO/oPDSyr3ke8OwhB3NX+LDH67V7ICJ/g9DICrnRdR8UFuddCl2cqfTMZXrEkQ==}
+ /tehanu-teru/1.0.0_tehanu@1.0.0:
+ resolution: {integrity: sha512-GzUu9HxSzxnj1JHkwe1FZBMoVgsDoR2f+w+fDJSKSGzw5bW0zkOeTSreS1amqVaEC0ePPJlb/lbS8Qppo3yZxA==}
+ engines: {node: '>=14.13'}
+ hasBin: true
+ peerDependencies:
+ tehanu: ^1.0.0
+ dependencies:
+ tehanu: 1.0.0
+ tiny-glob: 0.2.9
+ dev: true
+
+ /tehanu/1.0.0:
+ resolution: {integrity: sha512-yY4IagW5h2YHWEicVYdQT5dd7Cz9gWIkXhfWenEnDvbUb0/y9RJ4al4wYbV8FfaJ050jw9nj2GS89WrkgOn2Sw==}
engines: {node: '>=12'}
dev: true
@@ -1420,6 +1648,13 @@ packages:
minimatch: 3.1.2
dev: true
+ /tiny-glob/0.2.9:
+ resolution: {integrity: sha512-g/55ssRPUjShh+xkfx9UPDXqhckHEsHr4Vd9zX55oSdGZc/MD0m3sferOkwWtp98bv+kcVfEHtRJgBVJzelrzg==}
+ dependencies:
+ globalyzer: 0.1.0
+ globrex: 0.1.2
+ dev: true
+
/to-regex-range/5.0.1:
resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==}
engines: {node: '>=8.0'}
diff --git a/test/index.js b/test/index.js
index c8a22c0..718247e 100644
--- a/test/index.js
+++ b/test/index.js
@@ -40,6 +40,23 @@ export { controls as default };
`)
})
+test('minifies with esbuild', async () => {
+ const bundle = await rollup({
+ input: 'test/controls.css',
+ plugins: [litCss({ minify: { fast: true } })],
+ external: 'lit'
+ })
+ const { output } = await bundle.generate({});
+ const { code } = output[0]
+ strictEqual(code, `import { css } from 'lit';
+
+var controls = css\`.control{display:flex}
+\`;
+
+export { controls as default };
+`)
+})
+
test('handles broken input', async () => {
try {
await rollup({