Closed briankoudijs closed 3 years ago
Webpack 5 gives an error about missing CSS file. The problems seems to be the path of the @import in the 'svelte-filepond/src/Component.svelte
Current situation @import 'filepond/dist/filepond.min.css';
@import 'filepond/dist/filepond.min.css';
Working situation: @import '/node_modules/filepond/dist/filepond.min.css';
@import '/node_modules/filepond/dist/filepond.min.css';
if you face this issue, try adding modules to the resolve object.
resolve: { modules: [ path.resolve(__dirname + '/node_modules') ] },
Webpack 5 gives an error about missing CSS file. The problems seems to be the path of the @import in the 'svelte-filepond/src/Component.svelte
Current situation
@import 'filepond/dist/filepond.min.css';
Working situation:
@import '/node_modules/filepond/dist/filepond.min.css';