@unmagic/vms 0.0.4 → 0.0.5
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.
|
@@ -5032,7 +5032,7 @@ async function transformVueToMiniProgram(filePath, outputDir, isPage = false, cb
|
|
|
5032
5032
|
// 生成json配置
|
|
5033
5033
|
const baseJsonConfig = {
|
|
5034
5034
|
component: true,
|
|
5035
|
-
styleIsolation: 'apply-shared',
|
|
5035
|
+
styleIsolation: isPage ? 'shared' : 'apply-shared',
|
|
5036
5036
|
usingComponents: generateUsingComponents(result.vueComponentImports, thirdPartyComponents),
|
|
5037
5037
|
};
|
|
5038
5038
|
const jsonConfig = result.defineOptionsObject
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import dotenv from 'dotenv-flow';
|
|
|
2
2
|
|
|
3
3
|
async function runVMS(options) {
|
|
4
4
|
dotenv.config({ node_env: options.mode });
|
|
5
|
-
const { dev, prod } = await import('./cli-
|
|
5
|
+
const { dev, prod } = await import('./cli-Dgfsv5Hi.js');
|
|
6
6
|
if (options.mode === 'production') {
|
|
7
7
|
return prod(options);
|
|
8
8
|
}
|