2.0.1 • Published 2 years ago
@beemo/config-babel v2.0.1
Beemo - Babel config
An official Beemo Babel config based on babel-preset-beemo.
yarn install --dev @babel/core @beemo/core @beemo/driver-babel @beemo/config-babel
Setup
Create a configs/babel.ts
file in your Beemo configuration module that re-exports this config.
export { default } from '@beemo/config-babel';
Settings
The following Beemo settings
can be defined and will be passed to the preset.
decorators
(boolean
) - Enable TypeScript decorators. If true, will toggle Babel into loose mode. Defaults tofalse
.react
(boolean | classic | automatic
) - Enable the React plugin and the defined JSX runtime. Defaults tofalse
.
export default {
module: '<config-module>',
drivers: ['babel'],
settings: {
react: 'automatic',
},
};
2.0.1
2 years ago
2.0.0
2 years ago
1.1.9
2 years ago
1.1.11
2 years ago
1.1.10
2 years ago
1.1.8
2 years ago
1.1.7
2 years ago
1.1.6
2 years ago
1.1.5
2 years ago
1.1.4
2 years ago
1.1.3
3 years ago
1.1.2
3 years ago
1.1.1
3 years ago
1.1.0
3 years ago
1.0.5
3 years ago
1.0.4
3 years ago
1.0.3
3 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago
0.2.2
3 years ago
0.2.1
3 years ago
0.2.0
3 years ago
0.1.0
3 years ago
0.1.2
3 years ago
0.1.1
3 years ago
0.0.1-alpha.1
3 years ago
0.1.4
3 years ago
0.1.3
3 years ago
0.1.5
3 years ago
0.0.1-alpha.0
3 years ago