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

20 lines
379 B
JavaScript
Raw Normal View History

2017-06-08 06:19:11 +00:00
/* 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'
},
2017-06-08 06:19:11 +00:00
entry: 'main.js',
//dest: 'rollup.node.js',
2017-06-08 06:19:11 +00:00
plugins: [
resolve({
module: false
2017-06-08 06:19:11 +00:00
}),
commonjs()
],
format: 'cjs'
};