Spaces:
Build error
Build error
File size: 485 Bytes
8040aeb |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
/** @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
|