jsoncrack.com/next.config.js
2022-02-09 14:56:27 +03:00

16 lines
330 B
JavaScript

const withTM = require('next-transpile-modules')(['reaflow']);
/** @type {import('next').NextConfig} */
const nextConfig = withTM({
exportPathMap: () => ({
'/': { page: '/' },
'/editor': { page: '/editor' },
}),
trailingSlash: true,
experimental: {
esmExternals: 'loose'
}
});
module.exports = nextConfig;