sheetjs_sheetjs/demos/webpack/webpack.config.js

26 lines
429 B
JavaScript
Raw Normal View History

/* xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
module.exports = {
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": "" }
},
*/
node: {
fs: false,
process: false,
Buffer: false
}
}