@dcloudio/uni-mp-toutiao 3.0.0-alpha-3021320211115001 → 3.0.0-alpha-3021320211116001
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/__tests__/testUtils.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { isMiniProgramNativeTag as isNativeTag } from '@dcloudio/uni-shared'
|
|
1
2
|
import { compile, CompilerOptions } from '@dcloudio/uni-mp-compiler'
|
|
2
3
|
|
|
3
4
|
import { miniProgram, compilerOptions } from '../src/compiler/options'
|
|
@@ -16,6 +17,7 @@ export function assert(
|
|
|
16
17
|
generatorOpts: {
|
|
17
18
|
concise: true,
|
|
18
19
|
},
|
|
20
|
+
isNativeTag,
|
|
19
21
|
miniProgram: {
|
|
20
22
|
...miniProgram,
|
|
21
23
|
emitFile({ source }) {
|
package/dist/uni.compiler.js
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
var initMiniProgramPlugin = require('@dcloudio/uni-mp-vite');
|
|
4
4
|
var path = require('path');
|
|
5
|
-
var uniShared = require('@dcloudio/uni-shared');
|
|
6
5
|
var uniCliShared = require('@dcloudio/uni-cli-shared');
|
|
7
6
|
var uniMpCompiler = require('@dcloudio/uni-mp-compiler');
|
|
8
7
|
var compilerCore = require('@vue/compiler-core');
|
|
@@ -71,8 +70,6 @@ const nodeTransforms = [
|
|
|
71
70
|
uniCliShared.transformComponentLink,
|
|
72
71
|
];
|
|
73
72
|
const compilerOptions = {
|
|
74
|
-
isNativeTag: uniShared.isNativeTag,
|
|
75
|
-
isCustomElement: uniShared.isCustomElement,
|
|
76
73
|
nodeTransforms,
|
|
77
74
|
};
|
|
78
75
|
const miniProgram = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcloudio/uni-mp-toutiao",
|
|
3
|
-
"version": "3.0.0-alpha-
|
|
3
|
+
"version": "3.0.0-alpha-3021320211116001",
|
|
4
4
|
"description": "uni-app mp-toutiao",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"repository": {
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
},
|
|
23
23
|
"gitHead": "33e807d66e1fe47e2ee08ad9c59247e37b8884da",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@dcloudio/uni-cli-shared": "3.0.0-alpha-
|
|
26
|
-
"@dcloudio/uni-mp-compiler": "3.0.0-alpha-
|
|
27
|
-
"@dcloudio/uni-mp-vite": "3.0.0-alpha-
|
|
28
|
-
"@dcloudio/uni-mp-vue": "3.0.0-alpha-
|
|
29
|
-
"@dcloudio/uni-shared": "3.0.0-alpha-
|
|
25
|
+
"@dcloudio/uni-cli-shared": "3.0.0-alpha-3021320211116001",
|
|
26
|
+
"@dcloudio/uni-mp-compiler": "3.0.0-alpha-3021320211116001",
|
|
27
|
+
"@dcloudio/uni-mp-vite": "3.0.0-alpha-3021320211116001",
|
|
28
|
+
"@dcloudio/uni-mp-vue": "3.0.0-alpha-3021320211116001",
|
|
29
|
+
"@dcloudio/uni-shared": "3.0.0-alpha-3021320211116001",
|
|
30
30
|
"@vue/compiler-core": "3.2.22"
|
|
31
31
|
}
|
|
32
32
|
}
|
package/src/compiler/options.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import path from 'path'
|
|
2
2
|
import type { CompilerOptions } from '@vue/compiler-core'
|
|
3
|
-
import { isCustomElement, isNativeTag } from '@dcloudio/uni-shared'
|
|
4
3
|
import {
|
|
5
4
|
MiniProgramCompilerOptions,
|
|
6
5
|
transformComponentLink,
|
|
@@ -22,8 +21,6 @@ const nodeTransforms = [
|
|
|
22
21
|
]
|
|
23
22
|
|
|
24
23
|
export const compilerOptions: CompilerOptions = {
|
|
25
|
-
isNativeTag,
|
|
26
|
-
isCustomElement,
|
|
27
24
|
nodeTransforms,
|
|
28
25
|
}
|
|
29
26
|
export const miniProgram: MiniProgramCompilerOptions = {
|