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