There we want't modify the import {Table} from '@arco-design/web' to import Table from '@arco-design/web/es/Table'
Changelog
Changelog(CN)
Changelog(EN)
Related issues
修复由于引用修改导致 external 失效问题
Fix external problems due to import modify
Checklist:
[ ] Provide changelog for relevant changes (e.g. bug fixes and new features) if applicable.
[ ] Changes are submitted to the appropriate branch (e.g. features should be submitted to feature branch and others should be submitted to master branch)
Types of changes
Background and context
Due to import modifier priority is higher than externals, the import path will be modified and lost context chain.
For example: Main app:
Sub app:
subapp.rspack.config.js
There we want't modify the
import {Table} from '@arco-design/web'
toimport Table from '@arco-design/web/es/Table'
Changelog
Checklist:
feature
branch and others should be submitted tomaster
branch)Other information