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

有个多入口多出口的问题想请教一下 #44

Open
forever-z-133 opened this issue Mar 20, 2020 · 1 comment
Open

有个多入口多出口的问题想请教一下 #44

forever-z-133 opened this issue Mar 20, 2020 · 1 comment

Comments

@forever-z-133
Copy link

src
  - A
    - a
      -index.js
  - B
    - b
      - index.js
template.html

假设我的目录结构是这样的,导到 dist 中的 html 与 index.js 同级,应该怎么做呢?

AutoWebPlugin 的首参是单目录的,只用在 A 上可行。
看了源码是希望我将 { 'src/A/a': true, 'src/B/b': true } 作为首参传进去吗。

@gwuhaolin
Copy link
Owner

目前AutoWebPlugin不支持,你可以用多个WebPlugin实现你的需求,AutoWebPlugin也是基于WebPlugin实现的

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