@dcloudio/uni-cli-shared 3.0.0-alpha-3030520211229004 → 3.0.0-alpha-3030720220111001
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.
|
@@ -501,6 +501,7 @@ async function minifyCSS(css, config) {
|
|
|
501
501
|
const { code, warnings } = await (0, esbuild_1.transform)(css, {
|
|
502
502
|
loader: 'css',
|
|
503
503
|
minify: true,
|
|
504
|
+
target: config.build.cssTarget || undefined,
|
|
504
505
|
});
|
|
505
506
|
if (warnings.length) {
|
|
506
507
|
const msgs = await (0, esbuild_1.formatMessages)(warnings, { kind: 'warning' });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcloudio/uni-cli-shared",
|
|
3
|
-
"version": "3.0.0-alpha-
|
|
3
|
+
"version": "3.0.0-alpha-3030720220111001",
|
|
4
4
|
"description": "@dcloudio/uni-cli-shared",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"@babel/core": "^7.16.5",
|
|
22
22
|
"@babel/parser": "^7.16.4",
|
|
23
23
|
"@babel/types": "^7.16.0",
|
|
24
|
-
"@dcloudio/uni-i18n": "3.0.0-alpha-
|
|
25
|
-
"@dcloudio/uni-shared": "3.0.0-alpha-
|
|
24
|
+
"@dcloudio/uni-i18n": "3.0.0-alpha-3030720220111001",
|
|
25
|
+
"@dcloudio/uni-shared": "3.0.0-alpha-3030720220111001",
|
|
26
26
|
"@rollup/pluginutils": "^4.1.2",
|
|
27
27
|
"@vue/compiler-core": "3.2.26",
|
|
28
28
|
"@vue/compiler-dom": "3.2.26",
|