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

21 lines
402 B
JavaScript
Raw Permalink 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 {
input: 'xlsxworker.js',
output: {
file: 'worker.js',
format: 'iife'
},
2017-09-24 23:40:09 +00:00
entry: 'xlsxworker.js',
//dest: 'worker.js',
2017-09-24 23:40:09 +00:00
plugins: [
resolve({
module: false,
browser: true,
}),
commonjs()
],
format: 'iife'
};