Skip to content

Commit 43e4f72

Browse files
authored
fix: undo vscode changes (#2387)
I changed this while cache-busting the jetbrains development and didn't realise this would break prod 🤦 <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Reverts script path and file naming changes in `index.html` and `vite.config.ts` to fix production issues. > > - **Behavior**: > - Reverts script source path in `index.html` from `/src/main.tsx` to `./src/main.tsx` to fix production issues. > - Updates file naming patterns in `vite.config.ts` to remove hash from `entryFileNames`, `chunkFileNames`, and `assetFileNames` for production consistency. > > <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral)<sup> for 5206b78. You can [customize](https://app.ellipsis.dev/BoundaryML/settings/summaries) this summary. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
1 parent d25d3eb commit 43e4f72

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎typescript/apps/playground/index.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<body>
1111
<div id="root"></div>
12-
<script type="module" src="/src/main.tsx"></script>
12+
<script type="module" src="./src/main.tsx"></script>
1313
</body>
1414

15-
</html>
15+
</html>

‎typescript/apps/playground/vite.config.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ export default defineConfig({
7373
external: ['baml_wasm_web/rpc'],
7474
output: {
7575
format: 'es',
76-
entryFileNames: 'assets/[name]-[hash].js',
77-
chunkFileNames: 'assets/[name]-[hash].js',
78-
assetFileNames: 'assets/[name]-[hash].[ext]',
76+
entryFileNames: 'assets/[name].js',
77+
chunkFileNames: 'assets/[name].js',
78+
assetFileNames: 'assets/[name].[ext]',
7979
},
8080
},
8181
},

0 commit comments

Comments
 (0)