diff --git a/viewer/webpack/webpack.config.ts b/viewer/webpack/webpack.config.ts index 6bff74e..ac5535f 100644 --- a/viewer/webpack/webpack.config.ts +++ b/viewer/webpack/webpack.config.ts @@ -114,7 +114,7 @@ let config: webpack.Configuration = { type: "asset/resource", }, { - test: /node_modules\/typescript\/.*\.d\.ts$/, + test: /node_modules[\\/]typescript[\\/].*\.d\.ts$/, loader: "raw-loader", }, {