-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
mol_build: index.xml.tree support #599
Conversation
build/build.node.ts
Outdated
@@ -772,6 +772,8 @@ namespace $ { | |||
@ $mol_action | |||
bundleAll( { path } : { path : string } ) { | |||
|
|||
|
|||
this.bundle({ path , bundle : 'index.xml.tree' }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Это должно быть в index.html бандле.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
грубо говоря вынести это в одну функцию bundleIndexHtml?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ага, это же часть логики формирования index.html.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
чек
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
я бы ещё оповещал, что мы не смотрим index.html при наличии index.xml.tree
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Может наоборот не смотреть на index.xml.tree или вообще сливать их?
build/build.node.ts
Outdated
@@ -772,6 +772,8 @@ namespace $ { | |||
@ $mol_action | |||
bundleAll( { path } : { path : string } ) { | |||
|
|||
|
|||
this.bundle({ path , bundle : 'index.xml.tree' }) | |||
this.bundle({ path , bundle : 'index.html' }) | |||
this.bundle({ path , bundle : 'test.html' }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
И нужно убедиться, что этот бандл подхватывает генерируемый index.html.
No description provided.