sheetjs-clone/demos/webpack/webpack.config.js

25 lines
367 B
JavaScript
Raw Normal View History

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
}
}