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

Tera playground #264

Closed
wants to merge 5 commits into from
Closed

Tera playground #264

wants to merge 5 commits into from

Conversation

jmbrunskill
Copy link
Collaborator

@jmbrunskill jmbrunskill commented Nov 22, 2023

RND Day

πŸ‘©πŸ»β€πŸ’» What does this PR do?

Uses wasm to run tera in the browser, and validate the templates the users entered

Kapture 2023-11-22 at 17 26 15

πŸ§ͺ How has/should this change been tested?

This probably needs a bit of testing, particulary for things like deployment.
Does it increase the bundle size too much, Can it be lazy loaded, etc...

πŸ’Œ Any notes for the reviewer?

: new DummyWebpackPlugin();

return {
experiments: {
syncWebAssembly: true,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is the actual change

@jmbrunskill
Copy link
Collaborator Author

Results published as https://www.npmjs.com/package/@openmsupply/tera-web

Closing this PR

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