Skip to content

Commit b3c040d

Browse files
Remove broken/deprecated mime.wasm property setter
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
1 parent 34a4a26 commit b3c040d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/Server.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,6 @@ class Server {
155155
// eslint-disable-next-line
156156
const app = (this.app = new express());
157157

158-
// ref: https://github.com/webpack/webpack-dev-server/issues/1575
159-
// remove this when send@^0.16.3
160-
express.static.mime.types.wasm = 'application/wasm';
161-
162158
app.all('*', (req, res, next) => {
163159
if (this.checkHost(req.headers)) {
164160
return next();

0 commit comments

Comments
 (0)