mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 13:23:34 +00:00
[PM-11342] Fix 404 missing styles (#11147)
Fix 404 page lacking styles on nested pages.
This commit is contained in:
@@ -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: [
|
||||||
|
|||||||
Reference in New Issue
Block a user