babel-macros
Advanced tools
Comparing version 0.2.0 to 0.3.0
@@ -6,2 +6,4 @@ 'use strict'; | ||
var macrosRegex = /[./]macros(\.js)?$/; | ||
module.exports = macrosPlugin; | ||
@@ -18,3 +20,3 @@ | ||
value: function value(v) { | ||
return v.endsWith('.macros'); | ||
return macrosRegex.test(v); | ||
} | ||
@@ -40,3 +42,3 @@ } | ||
arguments: function _arguments(args) { | ||
return args.length === 1 && args[0].value.endsWith('.macros'); | ||
return args.length === 1 && macrosRegex.test(args[0].value); | ||
} | ||
@@ -43,0 +45,0 @@ }, |
{ | ||
"name": "babel-macros", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "Enables zero-config, importable babel plugins", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -1,5 +0,4 @@ | ||
<div style="text-align:center"> | ||
<div align="center"> | ||
<h1>babel-macros 🎣</h1> | ||
# babel-macros 🎣 | ||
**Enables zero-config, importable babel plugins** | ||
@@ -6,0 +5,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11330
96
112