sheetjs/demos/webpack/webpack.app.js

26 lines
512 B
JavaScript

/* xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
var commonops = {
/* suppress node shims */
node: {
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
]