sheetjs_sheetjs/demos/webpack/webpack.app.js

27 lines
525 B
JavaScript
Raw Normal View History

2017-09-24 23:40:09 +00:00
/* xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
var commonops = {
/* suppress node shims */
node: {
fs: false,
process: false,
Buffer: false
}
}
/* app.out.js */
var app_config = Object.assign({
entry: './app.js',
output: { path:__dirname, filename: './app.out.js' }
}, commonops);
/* appworker.out.js */
var appworker_config = Object.assign({
entry: './appworker.js',
output: { path:__dirname, filename: './appworker.out.js' }
}, commonops);
module.exports = [
app_config,
appworker_config
]