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

mol_build: index.xml.tree support #599

Merged
merged 7 commits into from
Jun 25, 2023
Merged

mol_build: index.xml.tree support #599

merged 7 commits into from
Jun 25, 2023

Conversation

koplenov
Copy link
Member

No description provided.

@@ -772,6 +772,8 @@ namespace $ {
@ $mol_action
bundleAll( { path } : { path : string } ) {


this.bundle({ path , bundle : 'index.xml.tree' })
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Это должно быть в index.html бандле.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

грубо говоря вынести это в одну функцию bundleIndexHtml?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ага, это же часть логики формирования index.html.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

чек

Copy link
Member Author

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

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Может наоборот не смотреть на index.xml.tree или вообще сливать их?

@@ -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' })
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

И нужно убедиться, что этот бандл подхватывает генерируемый index.html.

@nin-jin nin-jin merged commit bbb61cd into master Jun 25, 2023
18 checks passed
@nin-jin nin-jin deleted the index.xml.tree branch June 25, 2023 08:30
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