Thanks for the hint with the error logging. I ran into a similiar error while trying to import the @splidejs
css into my js - it results in:
- moduleIdentifier: >-
/Users/dcsturm/wrk/test/wp-themes/sage/node_modules/@splidejs/splide/dist/css/splide.min.css
moduleName: ../node_modules/@splidejs/splide/dist/css/splide.min.css
loc: '1:0'
message: >-
Module parse failed: Unexpected token (1:0)
You may need an appropriate loader to handle this file type, currently no
loaders are configured to process this file. See
https://webpack.js.org/concepts#loaders
>
.splide__container{box-sizi[...]
Could fix my error, using the solution @erip2 mentioned in Added a dependency but stylesheet can't be found - #5 by erip2
@kellymears: why does Bud
, although having css-loader
set up already, needs to have css-loader
added again? Am I missing something here?