File tree Expand file tree Collapse file tree 3 files changed +21
-20
lines changed
Expand file tree Collapse file tree 3 files changed +21
-20
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11# gdu
22
3+ ## 13.16.0
4+
5+ ### Minor Changes
6+
7+ - dd59183: feat(gdu): add runtime public path resolution for Vite builds
8+
9+ Vite builds could not use Octopus Deploy ` #{PUBLIC_PATH_BASE} ` tokens
10+ because the ` base ` config gets baked into minified JS where token
11+ substitution fails. This caused CSS and JS chunks to load from incorrect
12+ paths (` /chunks/... ` instead of the CDN URL), resulting in ` text/html ` MIME
13+ type errors in deployed environments.
14+
15+ Added ` runtimePublicPath ` plugin that derives the CDN base URL at runtime
16+ from ` import.meta.url ` of the entry chunk — mirroring how webpack's
17+ ` __webpack_require__.p ` mechanism works via ` set-public-path.js ` .
18+
19+ Also passes ` publicPath ` to ` guruBuildManifest ` in production Vite builds so
20+ ` build-manifest.json ` contains correctly prefixed asset paths for the app
21+ shell Lambda to inject.
22+
323## 13.15.0
424
525### Minor Changes
Original file line number Diff line number Diff line change 11{
22 "name" : " gdu" ,
3- "version" : " 13.15 .0" ,
3+ "version" : " 13.16 .0" ,
44 "description" : " AutoGuru's development toolkit" ,
55 "homepage" : " https://github.com/autoguru-au/octane/tree/master/packages/gdu#readme" ,
66 "repository" : " https://github.com/autoguru-au/octane/tree/master/packages/gdu" ,
You can’t perform that action at this time.
0 commit comments