mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
Bump webpack-dev-server from 3.11.2 to 4.2.1 (#2323)
* Bump webpack-dev-server from 3.11.2 to 4.2.1 Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 3.11.2 to 4.2.1. - [Release notes](https://github.com/webpack/webpack-dev-server/releases) - [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack/webpack-dev-server/compare/v3.11.2...v4.2.1) --- updated-dependencies: - dependency-name: webpack-dev-server dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Matthieu MOREL <mmorel-35@users.noreply.github.com>
This commit is contained in:
parent
1c3f94c9ec
commit
61d16b682b
@ -85,7 +85,7 @@
|
|||||||
"terser-webpack-plugin": "^4.2.3",
|
"terser-webpack-plugin": "^4.2.3",
|
||||||
"webpack": "^4.41.2",
|
"webpack": "^4.41.2",
|
||||||
"webpack-cli": "^4.7.2",
|
"webpack-cli": "^4.7.2",
|
||||||
"webpack-dev-server": "^3.4.1",
|
"webpack-dev-server": "^4.2.1",
|
||||||
"webpack-node-externals": "^3.0.0"
|
"webpack-node-externals": "^3.0.0"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
|
@ -51,9 +51,12 @@ module.exports = {
|
|||||||
libraryExport: 'default',
|
libraryExport: 'default',
|
||||||
},
|
},
|
||||||
devServer: {
|
devServer: {
|
||||||
contentBase: [path.join(__dirname, 'cypress', 'platform'), path.join(__dirname, 'dist')],
|
|
||||||
compress: true,
|
compress: true,
|
||||||
port: 9000,
|
port: 9000,
|
||||||
|
static: [
|
||||||
|
{ directory: path.join(__dirname, 'cypress', 'platform') },
|
||||||
|
{ directory: path.join(__dirname, 'dist') },
|
||||||
|
],
|
||||||
},
|
},
|
||||||
module: {
|
module: {
|
||||||
rules: [amdRule, jsRule, scssRule, jisonRule],
|
rules: [amdRule, jsRule, scssRule, jisonRule],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user