npm-module-boilerplate
npm-module-boilerplate copied to clipboard
Babel deprecated
Running the build
command, I get:
You have mistakenly installed the `babel` package, which is a no-op in Babel 6.
Babel's CLI commands have been moved from the `babel` package to the `babel-cli` package.
npm uninstall babel
npm install --save-dev babel-cli
Installing babel-cli
and babel-preset-env
solved the issue.
@PaulRBerg Thanks for bringing this up. I'll find some time in the next few days to fix this. Feel free to create a PR if you must :)
@PaulRBerg You can update your packages to newer versions of babel,
{
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.5",
"@babel/plugin-proposal-class-properties": "^7.4.4",
"@babel/polyfill": "^7.4.4",
"@babel/preset-env": "^7.4.5",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.6",
"babel-preset-minify": "^0.5.0",
}