14 lines
284 B
JavaScript
14 lines
284 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
webpack: (config, { buildId, dev, isServer, defaultLoaders, webpack }) => {
|
|
config.module.rules.push({
|
|
test: /\.node$/,
|
|
use: 'node-loader',
|
|
});
|
|
|
|
return config;
|
|
},
|
|
}
|
|
|
|
module.exports = nextConfig
|