dillonlaird's picture
added js
8040aeb
raw
history blame
485 Bytes
/** @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