@tuya-sat/micro-script 0.0.1-beta.3 → 0.0.4
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.
|
@@ -15,6 +15,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
15
15
|
const copy_webpack_plugin_1 = __importDefault(require("copy-webpack-plugin"));
|
|
16
16
|
const html_webpack_plugin_1 = __importDefault(require("html-webpack-plugin"));
|
|
17
17
|
const mini_css_extract_plugin_1 = __importDefault(require("mini-css-extract-plugin"));
|
|
18
|
+
const css_minimizer_webpack_plugin_1 = __importDefault(require("css-minimizer-webpack-plugin"));
|
|
18
19
|
const paths_1 = __importDefault(require("./paths"));
|
|
19
20
|
function getCommonConfig({ isDev, isBuild }) {
|
|
20
21
|
const { name: packageName } = require(paths_1.default.appPkg);
|
|
@@ -120,6 +121,7 @@ function getCommonConfig({ isDev, isBuild }) {
|
|
|
120
121
|
},
|
|
121
122
|
},
|
|
122
123
|
},
|
|
124
|
+
minimizer: ["...", new css_minimizer_webpack_plugin_1.default()],
|
|
123
125
|
},
|
|
124
126
|
plugins: [
|
|
125
127
|
new html_webpack_plugin_1.default({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tuya-sat/micro-script",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"bin": "./dist/bin/cli.js",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"license": "MIT",
|
|
@@ -15,12 +15,13 @@
|
|
|
15
15
|
"@babel/preset-react": "^7.14.5",
|
|
16
16
|
"@babel/preset-typescript": "^7.15.0",
|
|
17
17
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.1",
|
|
18
|
-
"@tuya-sat/micro-dev-loader": "0.0.
|
|
19
|
-
"@tuya-sat/micro-dev-proxy": "0.0.
|
|
18
|
+
"@tuya-sat/micro-dev-loader": "0.0.4",
|
|
19
|
+
"@tuya-sat/micro-dev-proxy": "0.0.4",
|
|
20
20
|
"babel-loader": "^8.2.2",
|
|
21
21
|
"babel-plugin-import": "^1.13.3",
|
|
22
22
|
"copy-webpack-plugin": "^9.0.1",
|
|
23
23
|
"css-loader": "^6.4.0",
|
|
24
|
+
"css-minimizer-webpack-plugin": "^3.2.0",
|
|
24
25
|
"fork-ts-checker-webpack-plugin": "^6.4.0",
|
|
25
26
|
"html-webpack-plugin": "^5.3.2",
|
|
26
27
|
"less": "^4.1.2",
|
|
@@ -42,12 +43,19 @@
|
|
|
42
43
|
"url-loader": "^4.1.1",
|
|
43
44
|
"vue-loader": "16.8.2",
|
|
44
45
|
"webpack": "^5.58.1",
|
|
45
|
-
"webpack-bundle-analyzer": "^4.5.0",
|
|
46
|
-
"webpack-cli": "^4.9.0",
|
|
47
46
|
"webpack-dev-server": "^4.3.1",
|
|
48
47
|
"webpack-merge": "^5.8.0"
|
|
49
48
|
},
|
|
50
49
|
"devDependencies": {
|
|
51
50
|
"typescript": "^4.4.4"
|
|
52
|
-
}
|
|
51
|
+
},
|
|
52
|
+
"keywords": [
|
|
53
|
+
"saturn-project",
|
|
54
|
+
"micro-frontend",
|
|
55
|
+
"no-code",
|
|
56
|
+
"IoT",
|
|
57
|
+
"saas",
|
|
58
|
+
"cloud",
|
|
59
|
+
"tuya"
|
|
60
|
+
]
|
|
53
61
|
}
|