feat(build): expose true ESM bundle as primary artifact (#7937)

Refs #7907
Refs #7831
This commit is contained in:
Vladimir Gorej
2022-03-24 12:24:01 +01:00
committed by GitHub
parent ec51dc38e9
commit 7409f41b97
6 changed files with 51 additions and 32 deletions

18
package-lock.json generated
View File

@@ -6,7 +6,7 @@
"packages": {
"": {
"name": "swagger-ui",
"version": "4.8.0",
"version": "4.8.1",
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime-corejs3": "^7.16.8",
@@ -128,6 +128,7 @@
"webpack-bundle-size-analyzer": "^3.1.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.7.4",
"webpack-node-externals": "=3.0.0",
"webpack-stats-plugin": "=1.0.3"
}
},
@@ -24883,6 +24884,15 @@
"node": ">=10.0.0"
}
},
"node_modules/webpack-node-externals": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/webpack-node-externals/-/webpack-node-externals-3.0.0.tgz",
"integrity": "sha512-LnL6Z3GGDPht/AigwRh2dvL9PQPFQ8skEpVrWZXLWBYmqcaojHNN0onvHzie6rq7EWKrrBfPYqNEzTJgiwEQDQ==",
"dev": true,
"engines": {
"node": ">=6"
}
},
"node_modules/webpack-stats-plugin": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/webpack-stats-plugin/-/webpack-stats-plugin-1.0.3.tgz",
@@ -44207,6 +44217,12 @@
"wildcard": "^2.0.0"
}
},
"webpack-node-externals": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/webpack-node-externals/-/webpack-node-externals-3.0.0.tgz",
"integrity": "sha512-LnL6Z3GGDPht/AigwRh2dvL9PQPFQ8skEpVrWZXLWBYmqcaojHNN0onvHzie6rq7EWKrrBfPYqNEzTJgiwEQDQ==",
"dev": true
},
"webpack-stats-plugin": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/webpack-stats-plugin/-/webpack-stats-plugin-1.0.3.tgz",