turn off esmExternals

This commit is contained in:
Deepak Prabhakara 2023-10-29 00:21:15 +01:00
parent 02a8d38a4c
commit 40b2d0e41b

View File

@ -1,5 +1,6 @@
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
module.exports = { module.exports = {
experimental: { esmExternals: false, webpackBuildWorker: true },
reactStrictMode: true, reactStrictMode: true,
output: 'standalone', output: 'standalone',
webpack: (config, { isServer }) => { webpack: (config, { isServer }) => {