2022-03-18 12:01:19 +03:00
|
|
|
const withTM = require("next-transpile-modules")(["reaflow"]);
|
2022-02-09 14:56:27 +03:00
|
|
|
|
|
|
|
const nextConfig = withTM({
|
2022-04-16 12:36:58 +03:00
|
|
|
reactStrictMode: true,
|
2022-02-03 19:56:16 +03:00
|
|
|
exportPathMap: () => ({
|
2022-03-18 12:01:19 +03:00
|
|
|
"/": { page: "/" },
|
|
|
|
"/editor": { page: "/editor" },
|
2022-02-03 19:56:16 +03:00
|
|
|
}),
|
2022-02-09 14:56:27 +03:00
|
|
|
experimental: {
|
2022-03-18 12:01:19 +03:00
|
|
|
esmExternals: "loose",
|
2022-04-16 12:36:58 +03:00
|
|
|
outputStandalone: true,
|
2022-03-18 12:01:19 +03:00
|
|
|
},
|
|
|
|
compiler: {
|
|
|
|
styledComponents: true,
|
|
|
|
swcMinify: true,
|
|
|
|
},
|
2022-02-09 14:56:27 +03:00
|
|
|
});
|
2022-01-30 13:09:56 +03:00
|
|
|
|
2022-02-03 19:56:16 +03:00
|
|
|
module.exports = nextConfig;
|