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:
@@ -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");
|
||||
},
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user