satorumurmur / bibi

Bibi | EPUB Reader on your website.
https://bibi.epub.link
MIT License
843 stars 123 forks source link

Fix Webpack config for Win development #74

Closed ybelenko closed 4 years ago

ybelenko commented 4 years ago

Hey, there! Dev server starts smoothly on MacOS. But one of my colleagues had issues on Windows 10. Projects doesn't compile on his machine with complain on bibi.scss file:

ERROR in ./__src/bibi/resources/styles/bibi.scss ModuleParseError: Module parse failed: Unexpected character ' '(1:0) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file.

I think that this issue related to forward slash in rules patterns. I've changed Webpack config a bit and now compilation ends without errors. npm run build command also without errors.

satorumurmur commented 4 years ago

@ybelenko Thank you so much!