babel-plugin-onex-utils
Advanced tools
+12
-0
@@ -6,2 +6,14 @@ # Change Log | ||
| ## [0.2.1](https://github.com/unity-template/onex-utils-packages/compare/babel-plugin-onex-utils@0.2.0...babel-plugin-onex-utils@0.2.1) (2021-01-31) | ||
| ### Bug Fixes | ||
| * 🐛 Couldn't find a Program (Fixes [#4](https://github.com/unity-template/onex-utils-packages/issues/4)) ([30f9299](https://github.com/unity-template/onex-utils-packages/commit/30f92996a6d3c8d52b0069b1633330ef84b0890c)) | ||
| * build assets path error (Fixes [#6](https://github.com/unity-template/onex-utils-packages/issues/6)) ([11b3e2a](https://github.com/unity-template/onex-utils-packages/commit/11b3e2a1e29649b802893456488c47a4b2edef3e)) | ||
| # [0.2.0](https://github.com/unity-template/onex-utils-packages/compare/babel-plugin-onex-utils@0.1.0...babel-plugin-onex-utils@0.2.0) (2021-01-28) | ||
@@ -8,0 +20,0 @@ |
+1
-1
@@ -44,3 +44,3 @@ "use strict"; | ||
| const importList = []; | ||
| traverse_1.default(path.node, { | ||
| traverse_1.default(path.parent, { | ||
| ImportDeclaration: { | ||
@@ -47,0 +47,0 @@ exit(importDeclarationPath) { |
@@ -8,3 +8,3 @@ "use strict"; | ||
| if (imported && imported !== 'default') { | ||
| source = `${source}/build/${imported}`; | ||
| source = `${source}/build/utils/${imported}`; | ||
| } | ||
@@ -11,0 +11,0 @@ else { |
+2
-2
| { | ||
| "name": "babel-plugin-onex-utils", | ||
| "version": "0.2.0", | ||
| "version": "0.2.1", | ||
| "description": "> TODO: description", | ||
@@ -37,3 +37,3 @@ "author": "云墨 <lg208143@alibaba-inc.com>", | ||
| }, | ||
| "gitHead": "14a4061d5bc2784e2595038c8594edd164198673" | ||
| "gitHead": "b1b1b3b245c7f228c76e50301d9310fce5cab282" | ||
| } |
+2
-2
@@ -26,5 +26,5 @@ # [babel-plugin-onex-utils](https://www.npmjs.com/package/babel-plugin-onex-utils) | ||
| var _map2 = _interopRequireDefault(require("onex-utils/build/map")); | ||
| var _map2 = _interopRequireDefault(require("onex-utils/build/utils/map")); | ||
| var _capitalize2 = _interopRequireDefault(require("onex-utils/build/capitalize")); | ||
| var _capitalize2 = _interopRequireDefault(require("onex-utils/build/utils/capitalize")); | ||
@@ -31,0 +31,0 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } |
15719
4.19%