Files
coopgo/node_modules/consolidated-events/rollup.config.js
sgauthier 6e64e138e2
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s
planning
2024-10-14 09:15:30 +02:00

23 lines
361 B
JavaScript

import babel from 'rollup-plugin-babel';
import pkg from './package.json';
export default {
input: 'src/index.js',
output: [
{
file: pkg.main,
format: 'cjs',
},
{
file: pkg.module,
format: 'esm',
},
],
plugins: [
babel({
babelrc: false,
presets: [['airbnb', { modules: false }]],
}),
],
};