-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change build target to target es2019. Some tools (storybook) do not s…
…upport ES2020 synthax. I had a super hard time changing the tool config to accept this, so instead i'm compiling hopper in an older version
- Loading branch information
1 parent
2b459f6
commit f49a6c5
Showing
4 changed files
with
11 additions
and
1 deletion.
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,7 @@ | ||
--- | ||
"@hopper-ui/styled-system": patch | ||
"@hopper-ui/components": patch | ||
"@hopper-ui/icons": patch | ||
--- | ||
|
||
Changed build target to target ES2019 |
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
import { defineBuildConfig } from "@workleap/tsup-configs"; | ||
|
||
export default defineBuildConfig({ | ||
entry: ["./src/**/src/*.(ts|tsx)"] | ||
entry: ["./src/**/src/*.(ts|tsx)"], | ||
target: "es2019" // We set target ES2019 since ES2020 syntax is not supported by older versions of storybook (used in orbiter) | ||
}); |
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
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