-
Notifications
You must be signed in to change notification settings - Fork 230
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify to use vite for building playground library (#3403)
Using rollup wasn't working super well when running in watch mode with the playground-website package refresh and needed some restart. Unfortunatelly can't seem to find a good way to just run `pnpm start` in `/playground-website` and have that working so still have to do `pnpm watch` in `/playground` as well.
- Loading branch information
1 parent
ccd67cf
commit 71784e2
Showing
8 changed files
with
397 additions
and
666 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,8 @@ | ||
--- | ||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking | ||
changeKind: internal | ||
packages: | ||
- "@typespec/playground" | ||
--- | ||
|
||
Simplify to use vite for building playground library |
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 was deleted.
Oops, something went wrong.
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,5 @@ | ||
export { createBrowserHost } from "./browser-host.js"; | ||
export { registerMonacoDefaultWorkersForVite } from "./monaco-worker.js"; | ||
export { registerMonacoLanguage } from "./services.js"; | ||
export { StateStorage, UrlStateStorage, createUrlStateStorage } from "./state-storage.js"; | ||
export { createUrlStateStorage, type StateStorage, type UrlStateStorage } from "./state-storage.js"; | ||
export type { BrowserHost, PlaygroundSample } from "./types.js"; |
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,8 +1,8 @@ | ||
export { FooterItem, FooterItemProps } from "./footer-item.js"; | ||
export { FooterItem, type FooterItemProps } from "./footer-item.js"; | ||
export { | ||
FooterVersionItem, | ||
FooterVersionItemProps, | ||
VersionSelectorProps, | ||
VersionSelectorVersion, | ||
} from "./footer-version-item.js"; | ||
export { Footer, FooterProps } from "./footer.js"; | ||
export { Footer, type FooterProps } from "./footer.js"; |
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
Oops, something went wrong.