xhs-mp-compiler-cli 1.9.7 → 1.9.8
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.
|
@@ -101,7 +101,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
101
101
|
(_d = (_c = config.resolve) === null || _c === void 0 ? void 0 : _c.modules) === null || _d === void 0 ? void 0 : _d.push(path_1.default.resolve(__dirname, '../../../'));
|
|
102
102
|
});
|
|
103
103
|
// if (action === 'dev' && enableDevServer) {
|
|
104
|
-
//
|
|
104
|
+
// const webpackDevServer = require('./dev-server').default
|
|
105
105
|
// return webpackDevServer(compilerOptions)
|
|
106
106
|
// }
|
|
107
107
|
return new webpack_1.WebPack(webpackConfig, compilerOptions);
|
|
@@ -48,7 +48,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
48
48
|
}
|
|
49
49
|
else {
|
|
50
50
|
// 运行时v1架构下,需要放在appCssCode,避免页面样式优先级高于app.css
|
|
51
|
-
appCssCode = `import '${appCssPath}'`;
|
|
51
|
+
appCssCode = `import '${(0, exports.formatPath)(appCssPath)}'`;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xhs-mp-compiler-cli",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.8",
|
|
4
4
|
"description": "xhs mp command tool.",
|
|
5
5
|
"preferGlobal": true,
|
|
6
6
|
"category": "esm",
|
|
@@ -94,13 +94,13 @@
|
|
|
94
94
|
"webpack-chain": "^6.5.1",
|
|
95
95
|
"webpack-sources": "^3.2.2",
|
|
96
96
|
"xhs-mp-workerpool": "^9.1.3",
|
|
97
|
-
"xhs-mp-compiler-ml-loader": "3.0.
|
|
98
|
-
"xhs-mp-compiler-utils": "1.9.
|
|
99
|
-
"xhs-mp-pack": "1.9.
|
|
100
|
-
"xhs-mp-project": "1.9.
|
|
101
|
-
"xhs-mp-utils": "1.9.
|
|
102
|
-
"xhs-mp-shared-fs": "1.4.
|
|
103
|
-
"xhs-mp-compiler-sjs-loader": "1.9.
|
|
97
|
+
"xhs-mp-compiler-ml-loader": "3.0.8",
|
|
98
|
+
"xhs-mp-compiler-utils": "1.9.8",
|
|
99
|
+
"xhs-mp-pack": "1.9.8",
|
|
100
|
+
"xhs-mp-project": "1.9.8",
|
|
101
|
+
"xhs-mp-utils": "1.9.8",
|
|
102
|
+
"xhs-mp-shared-fs": "1.4.8",
|
|
103
|
+
"xhs-mp-compiler-sjs-loader": "1.9.8",
|
|
104
104
|
"yauzl": "^2.10.0"
|
|
105
105
|
},
|
|
106
106
|
"devDependencies": {
|