require-context.macro
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -10,3 +10,3 @@ const { createMacro } = require('babel-plugin-macros'); | ||
path.parentPath.replaceWith( | ||
t.callExpression(t.identifier("require('require-context.macro/context')"), [ | ||
t.callExpression(t.identifier("require('require-context.macro/macro/context')"), [ | ||
t.identifier('__dirname'), | ||
@@ -13,0 +13,0 @@ ...path.parent.arguments, |
{ | ||
"name": "require-context.macro", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "A Babel Macro for the require-context plugin", | ||
@@ -5,0 +5,0 @@ "main": "macro/index.js", |
Sorry, the diff of this file is not supported yet
194606