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

Build: add entry points without top level side-effects #5329

Merged
merged 12 commits into from
Oct 23, 2024
Prev Previous commit
Next Next commit
Fix remaining tests
  • Loading branch information
OEvgeny committed Oct 22, 2024
commit 4004361bb05a59cccabc5acab0c28fbeedfa7cb8
2 changes: 1 addition & 1 deletion __tests__/html/fluentTheme/simple.html
Original file line number Diff line number Diff line change
@@ -48,7 +48,7 @@
);

expect(buildInfo).toHaveProperty('build-tool', 'tsup');
expect(buildInfo).toHaveProperty('module-format', 'esmodules');
expect(buildInfo).toHaveProperty('module-format', 'global');
expect(buildInfo.version).toMatch(/^\d+\.\d+\.\d+($|-)/u);

expect(window.WebChat.FluentThemeProvider).toBeTruthy();
2 changes: 1 addition & 1 deletion __tests__/html/metaTag.webChat.es5.html
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@
);

expect(buildInfo).toHaveProperty('build-tool', 'tsup');
expect(buildInfo).toHaveProperty('module-format', 'esmodules');
expect(buildInfo).toHaveProperty('module-format', 'global');
expect(buildInfo).toHaveProperty('variant', 'full-es5');
expect(buildInfo.version).toMatch(/^\d+\.\d+\.\d+($|-)/u);
});
2 changes: 1 addition & 1 deletion __tests__/html/metaTag.webChat.full.html
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@
);

expect(buildInfo).toHaveProperty('build-tool', 'tsup');
expect(buildInfo).toHaveProperty('module-format', 'esmodules');
expect(buildInfo).toHaveProperty('module-format', 'global');
expect(buildInfo).toHaveProperty('variant', 'full');
expect(buildInfo.version).toMatch(/^\d+\.\d+\.\d+($|-)/u);
});
2 changes: 1 addition & 1 deletion __tests__/html/metaTag.webChat.minimal.html
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@
);

expect(buildInfo).toHaveProperty('build-tool', 'tsup');
expect(buildInfo).toHaveProperty('module-format', 'esmodules');
expect(buildInfo).toHaveProperty('module-format', 'global');
expect(buildInfo).toHaveProperty('variant', 'minimal');
expect(buildInfo.version).toMatch(/^\d+\.\d+\.\d+($|-)/u);
});