xsheetjs/demos/rollup/rollup.config.worker.js

16 lines
322 B
JavaScript
Raw Normal View History

2017-09-24 23:40:09 +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 {
entry: 'xlsxworker.js',
dest: 'worker.js',
plugins: [
resolve({
module: false,
browser: true,
}),
commonjs()
],
format: 'iife'
};