1.0.1 • Published 3 years ago
@azimutlabs/rollup-config-babel v1.0.1
Installation
Add peer dependencies:
$ yarn add -D rollup @babel/core
...then install config packages:
$ yarn add -D @azimutlabs/rollup-{config,config-babel}
Usage
// rollup.config.js
import babel from '@azimutlabs/rollup-config-babel';
export default babel(
// Output format. Defaults to 'es'
'cjs',
{
// Optional RollupOptions that will be merged with configuration options.
shimMissingExports: true,
// Optional RollupConfigPlugins<P> object that will be merged with
// configuration plugins.
pluginBuilders: {
// Merge with default '@rollup/plugin-babel' plugin options.
babel: {
babelHelpers: ['bundled'],
},
},
}
);
Contributing
Any PR is welcomed by our @js-opensource team. Check out our contributing guidelines for more info.
License
1.0.1
3 years ago
1.0.0
3 years ago
0.2.5
3 years ago
0.2.4
3 years ago
0.2.3
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.0-alpha.3
3 years ago
0.1.0-alpha.1
3 years ago
0.1.0-alpha.2
3 years ago
0.1.0-alpha.0
3 years ago