-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate runtime options file using Babel
Previously runtime options were generated using manually created AST nodes and `astring` module. This was hindersome to maintain, so I decided to switch to using recast at first, but quickly found it doesn't support some of AST types that we need, so I've migrated to Babel modules instead, which provide all the nice APIs and generate more correct code than recast.
- Loading branch information
Showing
4 changed files
with
300 additions
and
1,486 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@vintl/nuxt': patch | ||
--- | ||
|
||
Switch to Babel for runtime options generation |
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
Oops, something went wrong.