wails
wails copied to clipboard
npm package "file-loader" ineffective
Description
file-load works fine in dev mode, but the package fails after build, causing inconsistency between dev mode and build
To Reproduce
- wails init -n myproject -t vue
- npm install vue3-ace-editor
- npm install file-loader
- create vue file
- import "ace-builds/webpack-resolver";
- import 'ace-builds/src-noconflict/mode-json';
- import 'ace-builds/src-noconflict/theme-ambiance';
- import 'ace-builds/src-noconflict/ext-language_tools';
- wails dev run (normal)
- wails build (error)
Expected behaviour
fix bugs.
Screenshots
Dev mode
Build

Attempted Fixes
dev mode also does not work properly when removing the "file-load" npm package alone
System Details
windows/amd64
Additional context
No response
my question
how to resolve?