Skip to content

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

fix: asset prefix

AykutSarac775b96454e0f
diff --git a/next.config.js b/next.config.js
index 7d381f99..4710d197 100644
--- a/next.config.js
+++ b/next.config.js
@@ -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;