Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Sync template compilation details with Ember, add @glimmer/babel-preset #334

Merged
merged 1 commit into from
Mar 21, 2021

Conversation

pzuraq
Copy link
Member

@pzuraq pzuraq commented Mar 19, 2021

Syncs the details of template compilation with Ember so that both
frameworks are using the same setup to compile templates. Also removes
the two babel plugins in favor of a single babel preset.

Breaking Changes

  • createTemplate has been renamed and updated to match
    precompileTemplate in Ember
  • setComponentTemplate and createTemplateFactory have been split
    apart into separate functions, matching the usage in Ember
  • @glimmer/babel-plugin-glimmer-env has been removed
  • @glimmer/babel-plugin-strict-template-precompile has been removed
  • @glimmer/babel-preset has been added
  • @glimmer/debug has been added with deprecate and assert functions
  • Remove TemplateArgs interface in favor of Arguments from @glimmer/interfaces

@pzuraq pzuraq force-pushed the sync-template-compilation-with-ember branch from 623c05f to 7d87ecd Compare March 19, 2021 01:57
Syncs the details of template compilation with Ember so that both
frameworks are using the same setup to compile templates. Also removes
the two babel plugins in favor of a single babel preset.

\## Breaking Changes

- `createTemplate` has been renamed and updated to match
  `precompileTemplate` in Ember
- `setComponentTemplate` and `createTemplateFactory` have been split
  apart into separate functions, matching the usage in Ember
- `@glimmer/babel-plugin-glimmer-env` has been removed
- `@glimmer/babel-plugin-strict-template-precompile` has been removed
- `@glimmer/babel-preset` has been added
- `@glimmer/debug` has been added with `deprecate` and `assert` functions
@pzuraq pzuraq force-pushed the sync-template-compilation-with-ember branch from 7d87ecd to dce0cb6 Compare March 19, 2021 02:40
@pzuraq pzuraq merged commit 1c1a753 into master Mar 21, 2021
@pzuraq pzuraq deleted the sync-template-compilation-with-ember branch March 21, 2021 16:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant