@dnb-org/babel-config v3.5.9
@dnb-org/babel-config
Babel configuration for dnb-org projects.
Installation
Use npm to install this package as development dependency:
npm install --save-dev @dnb-org/babel-configConfiguration
Create .babelrc.js with the following content:
module.exports = {
presets: ["module:@dnb-org/babel-config"],
};or create babel.config.json with the following content:
{
"presets": ["module:@dnb-org/babel-config"]
}We could also create a babel property inside of package.json:
{
"babel": {
"presets": ["module:@dnb-org/babel-config"]
}
}To override settings of the preset use the overrides parameter:
module.exports = {
presets: ["module:@dnb-org/babel-config"],
overrides: [
{
// override setup
},
],
};More information about Babel configuration.
Configuration rules in this package
To be written ...
DNB-Org/Configurations
A collection of configurations for website development at DNB Org.
| Package | Description |
|---|---|
| babel-config | Babel configuration |
| bootstrap-config | Bootstrap configuration |
| browserslist-config | Browserslist configuration |
| commitlint-config | Commitlint configuration |
| cssnano-config | CSSnano configuration |
| cypress-config | Cypress configuration |
| eslint-config | ESLint configuration |
| postcss-config | PostCSS configuration |
| prettier-config | Prettier configuration |
| remark-config | ReMark configuration |
| standard-version-config | Standard Version configuration |
| stylelint-config | StyleLint configuration |
| textlint-config | TextLint configuration |
| webpack-config | Webpack configuration |
| tools | Tools |
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago