blob: 45e83b22355da41b50c4b5565e83d9e2aea7e2d8 [file] [log] [blame]
Sean Condon436c60a2021-01-01 14:23:29 +00001const {nodeResolve} = require('@rollup/plugin-node-resolve');
2const commonjs = require('@rollup/plugin-commonjs');
Sean Condon98b6ddb2019-12-24 08:07:40 +00003
4module.exports = {
5 plugins: [
Sean Condon436c60a2021-01-01 14:23:29 +00006 nodeResolve({
Sean Condon98b6ddb2019-12-24 08:07:40 +00007 mainFields: ['browser', 'es2015', 'module', 'jsnext:main', 'main'],
8 }),
9 commonjs(),
10 ],
Sean Condon436c60a2021-01-01 14:23:29 +000011};