sheetjs_sheetjs/demos/webpack/webpack.config.js

27 lines
492 B
JavaScript
Raw Normal View History

/* xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
module.exports = {
2017-09-24 23:40:09 +00:00
/* 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/
]
},
2017-06-19 07:14:14 +00:00
/* Uncomment the next block to suppress codepage */
/*
resolve: {
alias: { "./dist/cpexcel.js": "" }
},
*/
2017-09-24 23:40:09 +00:00
/* suppress node shims */
node: {
process: false,
Buffer: false
}
}