Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛编译的时候黑暗主题的部分编译无法通过 #2989

Closed
4 tasks
sunchenjun opened this issue Nov 26, 2024 · 1 comment
Closed
4 tasks

🐛编译的时候黑暗主题的部分编译无法通过 #2989

sunchenjun opened this issue Nov 26, 2024 · 1 comment

Comments

@sunchenjun
Copy link

🏷 Version

Package Version
@antv/s2 2.0.0
@antv/s2-react 2.0.1
@antv/s2-react-components 2.0.1

Sheet Type

  • PivotSheet
  • TableSheet
  • GridAnalysisSheet
  • StrategySheet
  • EditableSheet

🖋 Description

组件源码 引入less文件的代码出错导致编译错误

⌨️ Code Snapshots

Uncaught SyntaxError: The requested module '/@fs/C:/Users/admin/Desktop/electron-tos/node_modules/@antv/s2/esm/styles/theme/dark.less' does not provide an export named 'default' (at chunk-YBHE4DD3.js?v=f504c188:34022:8)

🔗 Reproduce Link

🤔 Steps to Reproduce

安装了最新的正式版,编译时报错,溯源是
image

正常编译通过

😅 Current Behavior

编译未通过

💻 System information

Environment Info
System window 11
Browser chrome: v130.0.6723.117
@lijinke666
Copy link
Member

已知问题, 升级到最新版本即可 (@antv/s2^2.0.1 @antv/s2-react^2.0.2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants