wails icon indicating copy to clipboard operation
wails copied to clipboard

npm package "file-loader" ineffective

Open nageslan opened this issue 3 years ago • 2 comments

Description

file-load works fine in dev mode, but the package fails after build, causing inconsistency between dev mode and build

To Reproduce

  1. wails init -n myproject -t vue
  2. npm install vue3-ace-editor
  3. npm install file-loader
  4. create vue file
  5. import "ace-builds/webpack-resolver";
  6. import 'ace-builds/src-noconflict/mode-json';
  7. import 'ace-builds/src-noconflict/theme-ambiance';
  8. import 'ace-builds/src-noconflict/ext-language_tools';
  9. wails dev run (normal)
  10. 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

nageslan avatar Apr 30 '23 12:04 nageslan

my question

nageslan avatar Apr 30 '23 12:04 nageslan

how to resolve?

czbczb avatar Oct 20 '23 08:10 czbczb