livekit-dgn/next.config.js

18 lines
455 B
JavaScript
Raw Normal View History

2022-10-24 17:03:12 +02:00
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: false,
swcMinify: false,
productionBrowserSourceMaps: true,
webpack: (config, { buildId, dev, isServer, defaultLoaders, nextRuntime, webpack }) => {
// Important: return the modified config
config.module.rules.push({
test: /\.mjs$/,
enforce: 'pre',
use: ['source-map-loader'],
});
return config;
},
2022-10-24 17:03:12 +02:00
};
module.exports = nextConfig;