sheetjs-clone/demos/rollup/rollup.config.node.js

19 lines
366 B
JavaScript
Raw Normal View History

2017-06-08 06:19:11 +00:00
/* xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
2021-10-03 01:41:36 +00:00
import resolve from '@rollup/plugin-node-resolve';
import commonjs from '@rollup/plugin-commonjs';
2017-06-08 06:19:11 +00:00
export default {
input: 'main.js',
output: {
file: 'rollup.node.js',
format: 'cjs'
},
//dest: 'rollup.node.js',
2017-06-08 06:19:11 +00:00
plugins: [
resolve({
2021-10-03 01:41:36 +00:00
module: false,
browser: true,
2017-06-08 06:19:11 +00:00
}),
commonjs()
],
};