@cityholdings/minicube-dev 0.1.3 → 0.1.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.
- package/package.json +1 -1
- package/src/build.js +3 -1
package/package.json
CHANGED
package/src/build.js
CHANGED
|
@@ -138,7 +138,9 @@ async function buildMini(project, globalConfig, outRoot) {
|
|
|
138
138
|
'--target', 'web', '--mode', 'concurrent', '--no-vuerender', '--zrender', '--rmlrender',
|
|
139
139
|
'--external', 'appx', '--appxcompatible', 'tiny',
|
|
140
140
|
'--project-config-json', encodeURIComponent(JSON.stringify(projectConfig)),
|
|
141
|
-
|
|
141
|
+
// Matches the mPaaS cloud build output (compared module by module): no --prod (no module
|
|
142
|
+
// concatenation, hashed module ids, no minify), shared sub-packages, host code placeholders.
|
|
143
|
+
'--force-sub-package-build-type-shared', '--output-code-placeholder', '--output-html-placeholder',
|
|
142
144
|
];
|
|
143
145
|
log.step(`Compiling mini program ${id}`);
|
|
144
146
|
log.detail(`Compiler ${builder.path}`);
|