fix: asset prefix

This commit is contained in:
AykutSarac 2023-08-07 23:39:20 +03:00
parent 94ab3c5ba9
commit 775b96454e
No known key found for this signature in database

View File

@ -13,23 +13,23 @@ const config = {
compiler: {
styledComponents: true,
},
assetPrefix: "js",
};
module.exports =
process.env.ANALYZE === "true"
? withBundleAnalyzer(config)
: withSentryConfig(
config,
{
silent: true,
org: "aykut-sarac",
project: "json-crack",
},
{
widenClientFileUpload: true,
hideSourceMaps: true,
disableLogger: true,
disableServerWebpackPlugin: true,
}
);
const bundleAnalyzerConfig = withBundleAnalyzer(config);
const sentryConfig = withSentryConfig(
config,
{
silent: true,
org: "aykut-sarac",
project: "json-crack",
},
{
widenClientFileUpload: true,
hideSourceMaps: true,
disableLogger: true,
disableServerWebpackPlugin: true,
}
);
module.exports = process.env.ANALYZE === "true" ? bundleAnalyzerConfig : sentryConfig;