fix: fix static file serving in webpack (#2574)

Co-authored-by: Seve Badajoz <severiano.badajoz@chanzuckerberg.com>
This commit is contained in:
Severiano Badajoz
2022-09-21 11:03:03 -07:00
committed by GitHub
parent ddb601c103
commit 84563291a0
2 changed files with 2 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ const devConfig = {
options: {
name: "static/assets/[name].[ext]",
// (thuang): This is needed to make sure @font url path is '/static/assets/'
publicPath: "/",
publicPath: "..",
},
},
],

View File

@@ -48,7 +48,7 @@ const prodConfig = {
options: {
name: "static/assets/[name]-[contenthash].[ext]",
// (thuang): This is needed to make sure @font url path is '../static/assets/'
publicPath: "static/",
publicPath: "..",
},
},
],