-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Description
This plugin assumes that images are written to disk. When running webpack-dev-server the assets are not copied to the destination folder and therefor will not be able to be read.
The fs.readFile throws an error because it's not finding the image in the destination folder:
{ Error: ENOENT: no such file or directory, open '.../dist/img/menu-1d840d305cccb544781eccb64422f684.svg'
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '.../dist/img/menu-1d840d305cccb544781eccb64422f684.svg' }
Please note that the plugin is working fine when just building with webpack.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels