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

19 lines
363 B
JavaScript
Raw 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';
import commonjs from '@rollup/plugin-commonjs';
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,
}),
commonjs()
],
};