We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 381775c commit f949b4cCopy full SHA for f949b4c
index.js
@@ -19,7 +19,7 @@ function importPlugin(nameString) {
19
} else if (/^(\.\/|\.\.\/)/.test(nameString)) {
20
// relative import
21
plugin = require(__dirname, '../..', nameString);
22
- } else if (/^(babel-plugin-|@\w+\/babel-plugin-)/.test(nameString)) {
+ } else if (/^(babel-plugin-|@\w+\/[\w-]+)/.test(nameString)) {
23
// full-name or with scope
24
plugin = require(nameString);
25
} else {
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "cube-babel",
3
- "version": "1.0.3",
+ "version": "1.0.4",
4
"description": "cube babel processor",
5
"main": "index.js",
6
"scripts": {
0 commit comments