Rename decorators&decorators2 plugins to decorators-legacy&decorators. (#7821)

Reasons:
1) Naming consistency with Babel plugins
2) Sooner or later the decorators2 plugin should become decorators anyway
This commit is contained in:
Nicolò Ribaudo
2018-05-10 20:01:35 +02:00
committed by GitHub
parent 21b03c35d3
commit 25c3f0d689
26 changed files with 30 additions and 30 deletions

View File

@@ -10,7 +10,7 @@ export default declare((api, options) => {
return {
manipulateOptions(opts, parserOpts) {
parserOpts.plugins.push(legacy ? "decorators" : "decorators2");
parserOpts.plugins.push(legacy ? "decorators-legacy" : "decorators");
},
};
});