Skip to content

Conversation

@chhu1
Copy link
Contributor

@chhu1 chhu1 commented Sep 2, 2020

根据不同的文件来源,使用不同的customName 方式

exp:
for /path/to/a.js: import { A } from 'antd' -> const A = require('antd/lib/a-b')
for /path/to/b.js: import { A } from 'antd' -> const A = require('antd/lib/a-c')

@afc163 afc163 merged commit 8096fdf into umijs:master Sep 2, 2020
zhanguangao pushed a commit to zhanguangao/babel-plugin-module-federation-import that referenced this pull request Sep 1, 2023
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

Successfully merging this pull request may close these issues.

2 participants