diff --git a/lib/builder-webpack5/package.json b/lib/builder-webpack5/package.json index 793c1ad0decb..70e913af037f 100644 --- a/lib/builder-webpack5/package.json +++ b/lib/builder-webpack5/package.json @@ -77,6 +77,7 @@ "@types/node": "^14.0.10 || ^16.0.0", "babel-loader": "^8.0.0", "babel-plugin-named-exports-order": "^0.0.2", + "browser-assert": "^1.2.1", "case-sensitive-paths-webpack-plugin": "^2.3.0", "core-js": "^3.8.2", "css-loader": "^5.0.1", diff --git a/lib/builder-webpack5/src/preview/iframe-webpack.config.ts b/lib/builder-webpack5/src/preview/iframe-webpack.config.ts index 8e86460d3c75..6c215b318e71 100644 --- a/lib/builder-webpack5/src/preview/iframe-webpack.config.ts +++ b/lib/builder-webpack5/src/preview/iframe-webpack.config.ts @@ -246,7 +246,7 @@ export default async (options: Options & Record): Promise