sheetjs/demos/webpack/webpack.config.js
SheetJS 3d1f0f79ca version bump 0.8.7: bundlers
demos for browserify/requirejs/webpack
2017-03-04 20:14:08 -05:00

20 lines
245 B
JavaScript

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