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

17 lines
302 B
JavaScript
Raw Permalink Normal View History

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