sheetjs/demos/webpack/webpack.config.js

20 lines
245 B
JavaScript
Raw Normal View History

module.exports = {
output: {
libraryTarget: 'var',
library: 'XLSX'
},
module: {
noParse: [/jszip.js$/]
},
node: {
fs: false,
Buffer: false
},
externals: [
{
'./cptable': 'var cptable',
'../xlsx.js': 'var _XLSX'
}
]
}