jsoncrack.com/next.config.js

16 lines
330 B
JavaScript
Raw Normal View History

2022-02-09 14:56:27 +03:00
const withTM = require('next-transpile-modules')(['reaflow']);
2022-01-30 13:09:56 +03:00
/** @type {import('next').NextConfig} */
2022-02-09 14:56:27 +03:00
const nextConfig = withTM({
2022-02-03 19:56:16 +03:00
exportPathMap: () => ({
'/': { page: '/' },
'/editor': { page: '/editor' },
}),
trailingSlash: true,
2022-02-09 14:56:27 +03:00
experimental: {
esmExternals: 'loose'
}
});
2022-01-30 13:09:56 +03:00
2022-02-03 19:56:16 +03:00
module.exports = nextConfig;