sheetjs/demos/webpack/webpack.config.js
2021-09-30 19:31:52 +02:00

28 lines
512 B
JavaScript

/* xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
module.exports = {
/* ensure that the XLSX variable is exported */
output: {
path: __dirname,
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: {
process: false,
Buffer: false
}
};