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

改动引起template配置失效 #37

Open
HexMox opened this issue Jan 12, 2019 · 2 comments
Open

改动引起template配置失效 #37

HexMox opened this issue Jan 12, 2019 · 2 comments

Comments

@HexMox
Copy link

HexMox commented Jan 12, 2019

...otherOptions,

这里...otherOptions的写法,导致plugin配置中的template属性和WebPlugin中buildHtmlDocument方法中判断的options.template属性冲突,引起覆盖

@gwuhaolin
Copy link
Owner

我demo里的那些测试用例都跑通过了,你可以举个有问题的例子么?

@HexMox
Copy link
Author

HexMox commented Jan 23, 2019

/demo/auto-plugin-use-template/dist/signup.html

fddeb91

可以看到生成的html已经不是对应的src/template.html模版的内容了。用了默认的模版

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