Sean Condon | 0bd777c | 2021-01-01 14:23:29 +0000 | [diff] [blame] | 1 | const {nodeResolve} = require('@rollup/plugin-node-resolve'); |
| 2 | const commonjs = require('@rollup/plugin-commonjs'); |
Sean Condon | 98b6ddb | 2019-12-24 08:07:40 +0000 | [diff] [blame] | 3 | |
| 4 | module.exports = { |
| 5 | plugins: [ |
Sean Condon | 0bd777c | 2021-01-01 14:23:29 +0000 | [diff] [blame] | 6 | nodeResolve({ |
Sean Condon | 98b6ddb | 2019-12-24 08:07:40 +0000 | [diff] [blame] | 7 | mainFields: ['browser', 'es2015', 'module', 'jsnext:main', 'main'], |
| 8 | }), |
| 9 | commonjs(), |
| 10 | ], |
Sean Condon | 0bd777c | 2021-01-01 14:23:29 +0000 | [diff] [blame] | 11 | }; |