-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
896602f
commit e2b9e24
Showing
8 changed files
with
1,066 additions
and
943 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,18 @@ | ||
--- | ||
"@inlang/paraglide-js": minor | ||
--- | ||
|
||
feat: expose compiler as library | ||
|
||
closes https://github.com/opral/inlang-paraglide-js/issues/206 | ||
|
||
The Paraglide compiler is now exposed as a library. This allows you to use and extend the compiler however you need. | ||
|
||
```ts | ||
import { compile } from '@inlang/paraglide-js/compiler'; | ||
|
||
await compile({ | ||
path: "/path/to/project.inlang", | ||
outdir: "/path/to/output", | ||
}); | ||
``` |
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.