All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s
23 lines
361 B
JavaScript
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 }]],
|
|
}),
|
|
],
|
|
};
|