@tarojs/runner-utils 3.7.0-alpha.16 → 3.7.0-alpha.18

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/constant.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VITE_COMPILER_LABEL = exports.DEFAULT_Components = void 0;
3
+ exports.MEDIA_LIMIT = exports.FONT_LIMIT = exports.IMAGE_LIMIT = exports.VITE_COMPILER_LABEL = exports.DEFAULT_Components = void 0;
4
4
  exports.DEFAULT_Components = new Set([
5
5
  'view',
6
6
  'scroll-view',
@@ -47,3 +47,6 @@ exports.DEFAULT_Components = new Set([
47
47
  'editor'
48
48
  ]);
49
49
  exports.VITE_COMPILER_LABEL = 'taro:compiler';
50
+ exports.IMAGE_LIMIT = 2 * 1024;
51
+ exports.FONT_LIMIT = 10 * 1024;
52
+ exports.MEDIA_LIMIT = 10 * 1024;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarojs/runner-utils",
3
- "version": "3.7.0-alpha.16",
3
+ "version": "3.7.0-alpha.18",
4
4
  "description": "Taro runner utilities.",
5
5
  "main": "dist/index.js",
6
6
  "types": "types/index.d.ts",
@@ -19,8 +19,8 @@
19
19
  "license": "MIT",
20
20
  "dependencies": {
21
21
  "scss-bundle": "^3.0.2",
22
- "@tarojs/helper": "3.7.0-alpha.16",
23
- "@tarojs/taro": "3.7.0-alpha.16"
22
+ "@tarojs/helper": "3.7.0-alpha.18",
23
+ "@tarojs/taro": "3.7.0-alpha.18"
24
24
  },
25
25
  "peerDependenciesMeta": {
26
26
  "rollup": {
@@ -1,2 +1,5 @@
1
1
  export declare const DEFAULT_Components: Set<string>;
2
2
  export declare const VITE_COMPILER_LABEL = "taro:compiler";
3
+ export declare const IMAGE_LIMIT: number;
4
+ export declare const FONT_LIMIT: number;
5
+ export declare const MEDIA_LIMIT: number;