Skip to content

Commit

Permalink
refactor(babel-plugin-transform-imports): remove not needed import an…
Browse files Browse the repository at this point in the history
…d comment
  • Loading branch information
matyasf committed Jan 20, 2021
1 parent dededd4 commit 694ba06
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/babel-plugin-transform-imports/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* SOFTWARE.
*/

const { dirname, join, relative } = require('path')
const { dirname, relative } = require('path')
const globby = require('globby')

const transformName = 'babel-plugin-transform-imports'
Expand Down Expand Up @@ -81,7 +81,6 @@ function transform(transformOption, importName, matches) {
const packageName = matches[1]

try {
//https://github.com/aws/aws-cdk/commit/286866aa2a0c01adf90923524fce2fd2c6ff9c25
const sourceIndex = require.resolve(packageName)
const sourceRoot = dirname(sourceIndex)
const importPaths = globby.sync(
Expand Down

0 comments on commit 694ba06

Please sign in to comment.