Spaces:
Build error
Build error
/** @type {import('next').NextConfig} */ | |
const nextConfig = { | |
output: 'export', | |
basePath: '', | |
reactStrictMode: true, | |
experimental: { | |
appData: true, | |
esmExternals: "loose", // required to make Konva and react-konva work | |
}, | |
typescript: { | |
ignoreBuildErrors: true, | |
}, | |
webpack: (config) => { | |
config.externals = [...config.externals, { canvas: "canvas" }]; // required to make Konva and react-konva work | |
return config; | |
}, | |
}; | |
module.exports = nextConfig | |