sheetjs_sheetjs/demos/webpack/webpack.config.js
2017-09-24 19:40:09 -04:00

28 lines
505 B
JavaScript

/* xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
module.exports = {
/* ensure that the XLSX variable is exported */
output: {
libraryTarget: 'var',
library: 'XLSX'
},
/* module.noParse needed for bower */
module: {
noParse: [
/xlsx.core.min.js/,
/xlsx.full.min.js/
]
},
/* Uncomment the next block to suppress codepage */
/*
resolve: {
alias: { "./dist/cpexcel.js": "" }
},
*/
/* suppress node shims */
node: {
fs: false,
process: false,
Buffer: false
}
}