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

19 lines
366 B
JavaScript

/* xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
import resolve from '@rollup/plugin-node-resolve';
import commonjs from '@rollup/plugin-commonjs';
export default {
input: 'main.js',
output: {
file: 'rollup.node.js',
format: 'cjs'
},
//dest: 'rollup.node.js',
plugins: [
resolve({
module: false,
browser: true,
}),
commonjs()
],
};