1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-23 03:22:50 +02:00

[PM-11342] Fix 404 missing styles (#11147)

Fix 404 page lacking styles on nested pages.
This commit is contained in:
Oscar Hinton 2024-09-19 14:56:47 +02:00 committed by GitHub
parent 354079725f
commit 6ffd85c42c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -135,6 +135,8 @@ const plugins = [
template: "./src/404.html", template: "./src/404.html",
filename: "404.html", filename: "404.html",
chunks: ["styles"], chunks: ["styles"],
// 404 page is a wildcard, this ensures it uses absolute paths.
publicPath: "/",
}), }),
new CopyWebpackPlugin({ new CopyWebpackPlugin({
patterns: [ patterns: [