Skip to content

Commit ca8b5aa

Browse files
authoredJan 6, 2018
2.10.0 (#1258)
* 2.10.0 * downgrading mocha. v4 doesn't play nice with wds
1 parent 17355f0 commit ca8b5aa

File tree

3 files changed

+932
-45
lines changed

3 files changed

+932
-45
lines changed
 

‎README.md

+9-12
Original file line numberDiff line numberDiff line change
@@ -84,18 +84,15 @@ you edit your assets while the server is running.
8484

8585
See [**the documentation**][docs-url] for more use cases and options.
8686

87-
## Caveats
88-
89-
Version 2.8.0 introduced a change which included ES6 keywords `const` and `let`
90-
within the scripts being served to the browser. This effects environments which
91-
support _no ES6 whatsoever_, including older versions of UglifyJS and Internet
92-
Explorer. This was not considered a breaking change at the time due to official
93-
support for oldIE ending in 2016, rather this was seen as a maintenance update.
94-
Those wishing to support oldIE should stick with version 2.7.1.
95-
96-
For version 2.8.0+ those using UglifyJS in their webpack configs should use the
97-
beta version of [uglifyjs-webpack-plugin][uglify-url] independently, and _not_
98-
the built-in plugin. This will change once the new version is out of beta.
87+
## Browser Support
88+
89+
While `webpack-dev-server` transpiles the client (browser) scripts to an ES5
90+
state, the project only officially supports the _last two versions of major
91+
browsers_. We simply don't have the resources to support every whacky
92+
browser out there.
93+
94+
If you find an bug with an obscure / old browser, we would actively welcome a
95+
Pull Request to resolve the bug.
9996

10097
## Support
10198

‎package-lock.json

+920-30
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "webpack-dev-server",
3-
"version": "2.9.7",
3+
"version": "2.10.0",
44
"description": "Serves a webpack app. Updates the browser on changes.",
55
"license": "MIT",
66
"repository": "webpack/webpack-dev-server",
@@ -23,7 +23,7 @@
2323
"ci": "npm run cover -- --report lcovonly && npm run test",
2424
"cover": "istanbul cover node_modules/mocha/bin/_mocha",
2525
"lint": "eslint bin lib test examples client/{index,live,socket,sockjs,overlay,webpack.config}.js",
26-
"mocha": "mocha --full-trace --check-leaks --exit",
26+
"mocha": "mocha --full-trace --check-leaks",
2727
"prepublish": "(rm ssl/*.pem || true) && npm run -s build:live && npm run -s build:index && npm run -s build:sockjs",
2828
"test": "npm run lint && npm run mocha",
2929
"build:live": "webpack ./client/live.js client/live.bundle.js --color --config client/webpack.config.js",
@@ -86,7 +86,7 @@
8686
"less": "^2.5.1",
8787
"less-loader": "^4.0.5",
8888
"marked": "^0.3.9",
89-
"mocha": "^4.1.0",
89+
"mocha": "^3.5.3",
9090
"mocha-sinon": "^2.0.0",
9191
"pug": "^2.0.0-beta5",
9292
"pug-loader": "^2.3.0",

0 commit comments

Comments
 (0)
Please sign in to comment.