Ver código fonte

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

tags/1.9.1
lyzno1 1 mês atrás
pai
commit
0cac330bc2
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1
    0
      web/next.config.js

+ 1
- 0
web/next.config.js Ver arquivo

@@ -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'

Carregando…
Cancelar
Salvar