start moving more transformers to packages and finish import of plugins from babel-plugins

This commit is contained in:
Sebastian McKenzie
2015-09-01 08:37:37 +01:00
parent 9f9d9cd84b
commit 1ea835f42f
255 changed files with 3785 additions and 1265 deletions

View File

@@ -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": [

View File

@@ -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 }) {
}
}
}
});
};
}