Bläddra i källkod

fix: add echarts and zrender to transpilePackages for ESM compatibility (#26208)

tags/1.9.1
lyzno1 1 månad sedan
förälder
incheckning
0cac330bc2
Inget konto är kopplat till bidragsgivarens mejladress
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1
    0
      web/next.config.js

+ 1
- 0
web/next.config.js Visa fil

@@ -91,6 +91,7 @@ const remoteImageURLs = [hasSetWebPrefix ? new URL(`${process.env.NEXT_PUBLIC_WE
/** @type {import('next').NextConfig} */
const nextConfig = {
basePath: process.env.NEXT_PUBLIC_BASE_PATH || '',
transpilePackages: ['echarts', 'zrender'],
turbopack: {
rules: codeInspectorPlugin({
bundler: 'turbopack'

Laddar…
Avbryt
Spara