@tarojs/helper 3.4.0-beta.2 → 3.4.0-beta.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.
Files changed (2) hide show
  1. package/dist/utils.js +1 -1
  2. package/package.json +3 -3
package/dist/utils.js CHANGED
@@ -603,7 +603,7 @@ function readSFCPageConfig(configPath) {
603
603
  function readConfig(configPath) {
604
604
  let result = {};
605
605
  if (fs.existsSync(configPath)) {
606
- const importPaths = analyzeImport(configPath);
606
+ const importPaths = constants_1.REG_SCRIPTS.test(configPath) ? analyzeImport(configPath) : [];
607
607
  babelRegister_1.default({
608
608
  only: [
609
609
  configPath,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarojs/helper",
3
- "version": "3.4.0-beta.2",
3
+ "version": "3.4.0-beta.3",
4
4
  "description": "Taro Helper",
5
5
  "main": "index.js",
6
6
  "types": "types/index.d.ts",
@@ -40,7 +40,7 @@
40
40
  "@babel/preset-typescript": "^7.14.5",
41
41
  "@babel/register": "^7.14.5",
42
42
  "@babel/runtime": "^7.14.5",
43
- "@tarojs/taro": "3.4.0-beta.2",
43
+ "@tarojs/taro": "3.4.0-beta.3",
44
44
  "chalk": "3.0.0",
45
45
  "chokidar": "^3.3.1",
46
46
  "cross-spawn": "^7.0.3",
@@ -51,5 +51,5 @@
51
51
  "resolve": "^1.6.0",
52
52
  "yauzl": "2.10.0"
53
53
  },
54
- "gitHead": "ac3eb29f11aec15d25e061775d9e970efabc2c98"
54
+ "gitHead": "2ef7e8c10c9e5784e98bb1ad3a803d5fd6a46c8b"
55
55
  }