1b01e60424
* Add settings menu * update livekit deps * Update components * Handle unsupported browsers * make settings model configurable via env * update env * better check against env
17 lines
455 B
JavaScript
17 lines
455 B
JavaScript
/** @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;
|
|
},
|
|
};
|
|
|
|
module.exports = nextConfig;
|