Skip to content

Commit

Permalink
Remove broken/deprecated mime.wasm property setter
Browse files Browse the repository at this point in the history
Since `[email protected]`, the `mime.types` property has been deprecated and privatized. I also believe that this call is no longer needed in the new version.

Fixes webpack#1724
  • Loading branch information
tannerlinsley authored Mar 18, 2019
1 parent 34a4a26 commit b3c040d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/Server.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,6 @@ class Server {
// eslint-disable-next-line
const app = (this.app = new express());

// ref: https://github.com/webpack/webpack-dev-server/issues/1575
// remove this when send@^0.16.3
express.static.mime.types.wasm = 'application/wasm';

app.all('*', (req, res, next) => {
if (this.checkHost(req.headers)) {
return next();
Expand Down

0 comments on commit b3c040d

Please sign in to comment.