@typed-assistant/builder 0.0.13 → 0.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typed-assistant/builder",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "exports": {
5
5
  "./appProcess": "./src/appProcess.tsx",
6
6
  "./bunInstall": "./src/bunInstall.tsx",
@@ -102,12 +102,17 @@ export const startWebappServer = async ({
102
102
  },
103
103
  })
104
104
 
105
- server.get(`/assets/${basename(cssOutputFile)}`, Bun.file(cssOutputFile))
105
+ server.get(`/assets/${basename(cssOutputFile)}`, Bun.file(cssOutputFile), {
106
+ headers: { "content-type": "text/css" },
107
+ })
106
108
  buildResult.outputs.forEach((output) => {
107
- server.get(`/assets/${basename(output.path)}`, Bun.file(output.path))
109
+ server.get(`/assets/${basename(output.path)}`, Bun.file(output.path), {
110
+ headers: { "content-type": "text/javascript" },
111
+ })
108
112
  })
109
113
 
110
114
  server.listen(8099)
115
+ log("🌐 Web server listening on port 8099")
111
116
 
112
117
  // eslint-disable-next-line no-constant-condition
113
118
  while (true) {