This commit is contained in:
22
node_modules/consolidated-events/rollup.config.js
generated
vendored
Normal file
22
node_modules/consolidated-events/rollup.config.js
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
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 }]],
|
||||
}),
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user