xhs-mp-compiler-cli 1.9.8-beta.0 → 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.
- package/dist/index.js +0 -1
- package/dist/utils/loader-utils.js +1 -1
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -78,7 +78,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
};
|
|
79
79
|
this.getComilerImpl = (entryType = constant_config_1.COMPILE_ENTRY.simulator) => {
|
|
80
80
|
const compilerType = this.getCompilerType(entryType);
|
|
81
|
-
console.log('compilerType:', compilerType);
|
|
82
81
|
if (!this.compilerImplMap[compilerType]) {
|
|
83
82
|
this.compilerImplMap[compilerType] = this.createCompilerImpl(entryType);
|
|
84
83
|
if (entryType === constant_config_1.COMPILE_ENTRY.simulator) {
|
|
@@ -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.8
|
|
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.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
|
|
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": {
|