[PM-11342] Fix 404 missing styles (#11147)
Fix 404 page lacking styles on nested pages.
This commit is contained in:
parent
354079725f
commit
6ffd85c42c
|
@ -135,6 +135,8 @@ const plugins = [
|
|||
template: "./src/404.html",
|
||||
filename: "404.html",
|
||||
chunks: ["styles"],
|
||||
// 404 page is a wildcard, this ensures it uses absolute paths.
|
||||
publicPath: "/",
|
||||
}),
|
||||
new CopyWebpackPlugin({
|
||||
patterns: [
|
||||
|
|
Loading…
Reference in New Issue