1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

Improve types for web workers (#502)

* Improve types for web workers

* Move worker-loader config inline

* Remove trailing spaces in translations
This commit is contained in:
Bjorn Stromberg
2020-07-28 00:06:12 +09:00
committed by GitHub
parent bcc094e480
commit d2f9fd6ec8
10 changed files with 50 additions and 70 deletions

View File

@@ -94,16 +94,6 @@ module.exports = ({ watch = false, standalone = false }) => {
},
],
},
{
test: /\.worker\.js$/,
use: {
loader: "worker-loader",
options: {
fallback: false,
inline: true,
},
},
},
{
test: /\.ya?ml$/,
type: "json", // Required by Webpack v4