jsoncrack.com/next.config.js

18 lines
336 B
JavaScript
Raw Normal View History

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-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",
},
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;