start moving more transformers to packages and finish import of plugins from babel-plugins
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
"name": "babel-plugin-remove-console",
|
||||
"version": "1.0.1",
|
||||
"description": "Remove console.* calls",
|
||||
"repository": "babel-plugins/babel-plugin-remove-console",
|
||||
"repository": "babel/babelbabel-plugin-remove-console",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"keywords": [
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
export default function ({ Plugin, types: t }) {
|
||||
return new Plugin("remove-console", {
|
||||
export default function () {
|
||||
return {
|
||||
metadata: {
|
||||
group: "builtin-pre"
|
||||
},
|
||||
@@ -11,5 +11,5 @@ export default function ({ Plugin, types: t }) {
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user