After upgrading to all the latest SPFx packages and fast serve 1.19 I am getting an error in a .scss file. I first noticed it on my existing project so I created a new blank project and added the scss file to it. As soon as I import the scss file into the default web part I get the error. I also tested the file with gulp serve and it works fine. So it's something with fast serve.
I'm going to start removing items one by one in the scss file to see if I can pinpoint the exact line. I figured I would post here in case anyone already knows what causes this.
EDIT: I found the culprit. It was caused by content: '\2020'; in the following code. It's used to add a dagger symbol. I'm using it correctly as far as I can tell.
After upgrading to all the latest SPFx packages and fast serve 1.19 I am getting an error in a .scss file. I first noticed it on my existing project so I created a new blank project and added the scss file to it. As soon as I import the scss file into the default web part I get the error. I also tested the file with gulp serve and it works fine. So it's something with fast serve.
I'm going to start removing items one by one in the scss file to see if I can pinpoint the exact line. I figured I would post here in case anyone already knows what causes this.
EDIT: I found the culprit. It was caused by content: '\2020'; in the following code. It's used to add a dagger symbol. I'm using it correctly as far as I can tell.
Log:
common.module.scss: