Build browser bundle as UMD

This commit is contained in:
wpetit 2021-02-18 16:55:10 +01:00
parent add9ff886d
commit d020bcdb74
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -48,7 +48,7 @@ module.exports = [
main: ['babel-polyfill', './index.js'], main: ['babel-polyfill', './index.js'],
}, },
output: { output: {
libraryTarget: "var", libraryTarget: "umd",
library: "landxml", library: "landxml",
}, },
devtool: 'inline-source-map', devtool: 'inline-source-map',