You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
435 B
17 lines
435 B
1 month ago
|
/** @type {import('next').NextConfig} */
|
||
|
const nextConfig = {
|
||
|
reactStrictMode: 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;
|