@dcloudio/uni-quickapp-webview 3.0.0-alpha-3021320211112001 → 3.0.0-alpha-3021320211117003

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.
@@ -3,7 +3,6 @@
3
3
  var uniCliShared = require('@dcloudio/uni-cli-shared');
4
4
  var initMiniProgramPlugin = require('@dcloudio/uni-mp-vite');
5
5
  var path = require('path');
6
- var uniShared = require('@dcloudio/uni-shared');
7
6
  var shared = require('@vue/shared');
8
7
 
9
8
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -57,8 +56,6 @@ function formatAppJson(_appJson, manifestJson, _pagesJson) {
57
56
  }
58
57
 
59
58
  const compilerOptions = {
60
- isNativeTag: uniShared.isNativeTag,
61
- isCustomElement: uniShared.isCustomElement,
62
59
  nodeTransforms: [uniCliShared.transformRef, uniCliShared.transformComponentLink],
63
60
  };
64
61
  const miniProgram = {
@@ -363,7 +363,7 @@ function parseApp(instance, parseAppOptions) {
363
363
  });
364
364
  injectAppLaunchHooks(internalInstance);
365
365
  ctx.globalData = this.globalData;
366
- instance.$callHook(ON_LAUNCH, extend({ app: this }, options));
366
+ instance.$callHook(ON_LAUNCH, extend({ app: { mixin: internalInstance.appContext.app.mixin } }, options));
367
367
  },
368
368
  };
369
369
  initLocale(instance);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/uni-quickapp-webview",
3
- "version": "3.0.0-alpha-3021320211112001",
3
+ "version": "3.0.0-alpha-3021320211117003",
4
4
  "description": "uni-app quickapp-webview",
5
5
  "main": "dist/index.js",
6
6
  "repository": {
@@ -22,13 +22,13 @@
22
22
  },
23
23
  "gitHead": "33e807d66e1fe47e2ee08ad9c59247e37b8884da",
24
24
  "devDependencies": {
25
- "@vue/compiler-core": "3.2.21"
25
+ "@vue/compiler-core": "3.2.22"
26
26
  },
27
27
  "dependencies": {
28
- "@dcloudio/uni-cli-shared": "3.0.0-alpha-3021320211112001",
29
- "@dcloudio/uni-mp-vite": "3.0.0-alpha-3021320211112001",
30
- "@dcloudio/uni-mp-vue": "3.0.0-alpha-3021320211112001",
31
- "@dcloudio/uni-shared": "3.0.0-alpha-3021320211112001",
32
- "@vue/shared": "3.2.21"
28
+ "@dcloudio/uni-cli-shared": "3.0.0-alpha-3021320211117003",
29
+ "@dcloudio/uni-mp-vite": "3.0.0-alpha-3021320211117003",
30
+ "@dcloudio/uni-mp-vue": "3.0.0-alpha-3021320211117003",
31
+ "@dcloudio/uni-shared": "3.0.0-alpha-3021320211117003",
32
+ "@vue/shared": "3.2.22"
33
33
  }
34
34
  }
@@ -1,6 +1,5 @@
1
1
  import path from 'path'
2
2
  import type { CompilerOptions } from '@vue/compiler-core'
3
- import { isNativeTag, isCustomElement } from '@dcloudio/uni-shared'
4
3
  import {
5
4
  MiniProgramCompilerOptions,
6
5
  transformComponentLink,
@@ -12,8 +11,6 @@ import source from './jsconfig.json'
12
11
  import { formatAppJson } from './utils'
13
12
 
14
13
  export const compilerOptions: CompilerOptions = {
15
- isNativeTag,
16
- isCustomElement,
17
14
  nodeTransforms: [transformRef, transformComponentLink],
18
15
  }
19
16
 
package/tsconfig.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "extends": "../../tsconfig.json",
3
3
  "compilerOptions": {
4
+ "resolveJsonModule": true,
4
5
  "paths": {
5
6
  "@dcloudio/*": ["packages/*/src"],
6
7
  "@dcloudio/uni-platform": [