@netless/app-slide 0.0.2 → 0.0.3
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/main.cjs.js +34 -34
- package/dist/main.cjs.js.map +1 -1
- package/dist/main.es.js +2 -1
- package/dist/main.es.js.map +1 -1
- package/dist/main.iife.js +19 -19
- package/dist/main.iife.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -48,7 +48,7 @@ const SlideApp: NetlessApp<Attributes> = {
|
|
|
48
48
|
const sideEffect = new SideEffectManager();
|
|
49
49
|
// 因为 view 存在,init scene path 必定存在
|
|
50
50
|
const baseScenePath = context.getInitScenePath() as string;
|
|
51
|
-
const showController = import.meta.env.DEV;
|
|
51
|
+
const showController = import.meta.env.DEV || context.getAppOptions()?.debug;
|
|
52
52
|
const channel = `channel-${context.appId}`;
|
|
53
53
|
|
|
54
54
|
let theController: SlideController | undefined;
|