vite.assetsInclude
is not working on astro build
#4346
Labels
- P3: minor bug
An edge case that only affects very specific usage (priority)
What version of
astro
are you using?1.0.5
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
npm
What operating system are you using?
Windows 10
Describe the Bug
Background
I want to use
.glb
(3D model data) in Three.jsBug
vite.assetsInclude
config to astro.config to use .glb as assets file.import cameraMove from '@/assets/models/camera_move.glb';
)astro dev
astro build
. I got errors (.glb is binary file, so there are garbled characters)Link to Minimal Reproducible Example
https://github.com/kagankan/astro-sample/tree/f62581354ae153089c810ce35c90841da7283078
Participation
The text was updated successfully, but these errors were encountered: