@tarojs/helper 4.0.0-alpha.16 → 4.0.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/esbuild/index.js
CHANGED
|
@@ -25,9 +25,9 @@ const lodash_1 = require("lodash");
|
|
|
25
25
|
const require_from_string_1 = __importDefault(require("require-from-string"));
|
|
26
26
|
const constants_1 = require("../constants");
|
|
27
27
|
exports.defaultEsbuildLoader = {
|
|
28
|
-
'.js': '
|
|
28
|
+
'.js': 'js',
|
|
29
29
|
'.jsx': 'tsx',
|
|
30
|
-
'.ts': '
|
|
30
|
+
'.ts': 'ts',
|
|
31
31
|
'.json': 'json'
|
|
32
32
|
};
|
|
33
33
|
/** 基于 esbuild 的 require 实现 */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/esbuild/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,oCAAiD;AACjD,sDAA6B;AAwDpB,kBAxDF,iBAAO,CAwDE;AAvDhB,mCAAuC;AACvC,8EAAmD;AAEnD,4CAAgD;AAInC,QAAA,oBAAoB,GAA2B;IAC1D,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/esbuild/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,oCAAiD;AACjD,sDAA6B;AAwDpB,kBAxDF,iBAAO,CAwDE;AAvDhB,mCAAuC;AACvC,8EAAmD;AAEnD,4CAAgD;AAInC,QAAA,oBAAoB,GAA2B;IAC1D,KAAK,EAAE,IAAI;IACX,MAAM,EAAE,KAAK;IACb,KAAK,EAAE,IAAI;IACX,OAAO,EAAE,MAAM;CAChB,CAAA;AAQD,8BAA8B;AAC9B,SAAgB,kBAAkB,CAChC,EAAU,EACV,EAAE,YAAY,GAAG,EAAE,EAAE,eAAe,GAAG,EAAE,EAAE,GAAG,GAAG,OAAO,CAAC,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|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/helper",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.18",
|
|
4
4
|
"description": "Taro Helper",
|
|
5
5
|
"author": "O2Team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"debug": "^4.3.4",
|
|
42
42
|
"dotenv": "^16.4.5",
|
|
43
43
|
"dotenv-expand": "^11.0.6",
|
|
44
|
-
"esbuild": "
|
|
44
|
+
"esbuild": "~0.21.0",
|
|
45
45
|
"find-yarn-workspace-root": "^2.0.0",
|
|
46
46
|
"fs-extra": "^11.2.0",
|
|
47
47
|
"lodash": "^4.17.21",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@types/babel__core": "^7.20.5",
|
|
54
54
|
"@types/babel__generator": "^7.6.8",
|
|
55
55
|
"@types/babel__traverse": "^7.20.5",
|
|
56
|
-
"@tarojs/taro": "4.0.0-alpha.
|
|
56
|
+
"@tarojs/taro": "4.0.0-alpha.18"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
59
|
"prod": "pnpm run build",
|