@davidsneighbour/babel-config
v2024.3.13
Published
Babel configuration for use in @davidsneighbour projects.
Downloads
277
Readme
Babel
Create .babelrc.js
with the following content:
export default = {
presets: ["module:@davidsneighbour/babel-config"],
};
or create babel.config.json
with the following content:
{
"presets": ["module:@davidsneighbour/babel-config"]
}
We could also create a babel
property inside of package.json
:
{
"babel": {
"presets": ["module:@davidsneighbour/babel-config"]
}
}
To override settings of the preset use the overrides
parameter:
export default {
presets: ["module:@davidsneighbour/babel-config"],
overrides: [
{
// override setup
},
],
};
More information about Babel configuration.
All configurations
| Configurations | | | | --- | --- | --- | | Build Tools | | | | Babel | Webpack | | | Testing | | | | Cypress | HTML Validate | | | Linters and Formatters | | | | Browserslist | ESLint | PostCSS | | Prettier | Stylelint | | | Project Management | | | | Commitlint | Release | | | Markdown and Writing | | | | Markdownlint | Remark Lint | | | Other Tools | | | | Bootstrap | Tools | |