Skip to content

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

update next config

Aykut Saraç0cdb002fcd0b
diff --git a/next.config.js b/next.config.js
index 821aef34..6489b7e8 100644
--- a/next.config.js
+++ b/next.config.js
@@ -1,15 +1,17 @@
-const withTM = require('next-transpile-modules')(['reaflow']);
+const withTM = require("next-transpile-modules")(["reaflow"]);
-/** @type {import('next').NextConfig} */
const nextConfig = withTM({
exportPathMap: () => ({
- '/': { page: '/' },
- '/editor': { page: '/editor' },
+ "/": { page: "/" },
+ "/editor": { page: "/editor" },
}),
- trailingSlash: true,
experimental: {
- esmExternals: 'loose'
- }
+ esmExternals: "loose",
+ },
+ compiler: {
+ styledComponents: true,
+ swcMinify: true,
+ },
});
module.exports = nextConfig;