Commit ce8b301f authored by John Leon's avatar John Leon Committed by Tim Neutkens

Fix for with-ant-design-less for next7.0 (#5263)

* Update .babelrc

babel-plugin-transform-decorators-legacy does not exist in babel 7 in replace use @babel/plugin-proposal-decorators

* Update package.json

Acording the last commit please,  test this example , will be work .
parent 3bb62928
{
"presets": ["next/babel"],
"plugins": [
"transform-decorators-legacy",
["@babel/plugin-proposal-decorators", { "decoratorsBeforeExport": true }],
[
"import",
{
......
......@@ -17,6 +17,6 @@
},
"license": "ISC",
"devDependencies": {
"babel-plugin-transform-decorators-legacy": "^1.3.5"
"@babel/plugin-proposal-decorators": "^7.1.0"
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment