-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Embed the template text into the layer file rather than the AST.
Turns out that it's problematic even to create the AST at build time, because then (during the build) handlebars.js will create dummy custom elements (ex: <d-button>) for introspection. They are used to find out when to call element.foo = false rather than element.foo = "false". Creating the dummy elements first requires running the code to define the custom elements. That wasn't working right during builds, because the javascript files were referencing symbols that don't exist in Node, such as HTMLElement. Rolls back more of (and most of) 2c0633f. Fixes #438 for real, and refs #432.
- Loading branch information
Showing
1 changed file
with
21 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters