Closed akhatri closed 4 years ago
Hi, thank you for reporting this bug.
I am not sure, but I think it is related to how nextjs handles hot modules upgrades. This package uses some newer packages then next-css, so the config is slightly different, some parts are based on CRA configuration.After having a briefly look into this, I was not able to find the problem, need to dig deeper.
Please, if it is urgent for you, feel free to take a look, and if you can find the problem, it would be very helpful.
Fixed in 1.0.4, please try if it is working for you
sry. had to republish, try 1.0.5
@webdeb just tested it and it works :) thanks for the quick turnaround. Amazing plugin
Firstly this plugin does what I want, allowing both SASS modules and global SASS for my project :) so thanks for this. It works as expected but I cant seem to get hot reload working unless i manually refresh the page. is there something wrong with my config file? I am using Nextjs 9.2 with typescript
next.config.js
I have
title.module.scss
in the root of the project and I reference it in the index.tsx I haveglobal.scss
in theassets/styles
folderindex.tsx
package.json