@ray-js/babel-preset-standard 0.4.12 → 0.5.1

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/index.js +1 -1
  2. package/package.json +4 -4
package/index.js CHANGED
@@ -20,7 +20,7 @@ function preset(api, presetOption) {
20
20
  ].filter(Boolean),
21
21
  plugins: [
22
22
  jsx === 'preserve' && require.resolve('@babel/plugin-syntax-jsx'),
23
- macro && require.resolve('babel-plugin-macros'), // remax 中的 macro 需要
23
+ macro && require.resolve('babel-plugin-macros'), // @ray-core/ray 中的 macro 需要
24
24
  // require.resolve('babel-plugin-minify-dead-code-elimination'),
25
25
  require.resolve('babel-plugin-minify-dead-code-elimination-while-loop-fixed'),
26
26
  require.resolve('babel-plugin-transform-prune-unused-imports'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/babel-preset-standard",
3
- "version": "0.4.12",
3
+ "version": "0.5.1",
4
4
  "description": "Ray babel-preset-standard",
5
5
  "keywords": [
6
6
  "ray"
@@ -22,13 +22,13 @@
22
22
  "@babel/plugin-proposal-optional-chaining": "^7.14.5",
23
23
  "@babel/plugin-syntax-jsx": "^7.14.5",
24
24
  "@babel/preset-react": "^7.14.5",
25
- "@ray-js/babel-preset-base": "^0.4.12",
25
+ "@ray-js/babel-preset-base": "^0.5.1",
26
26
  "babel-plugin-macros": "^3.1.0",
27
27
  "babel-plugin-minify-dead-code-elimination-while-loop-fixed": "^0.3.0",
28
28
  "babel-plugin-transform-prune-unused-imports": "^1.0.1"
29
29
  },
30
30
  "devDependencies": {
31
- "@ray-js/types": "^0.4.12",
31
+ "@ray-js/types": "^0.5.1",
32
32
  "babel-plugin-tester": "^10.1.0",
33
33
  "jest": "^27.2.0",
34
34
  "ts-jest": "^27.0.5"
@@ -39,6 +39,6 @@
39
39
  "email": "tuyafe@tuya.com"
40
40
  }
41
41
  ],
42
- "gitHead": "2ac747db1f49c6f391d916eb697d5900f0736de3",
42
+ "gitHead": "d6cf331f1dd9e36dd7df0007e70dd601429c95d5",
43
43
  "repository": {}
44
44
  }