Is anybody else getting this error when using import in scss?
@import "~rfs/scss";
^
SyntaxError: Invalid or unexpected token
Issue was solved - you need to remove
PAYLOAD_CONFIG_PATH
from your
package.json
, especially if you are coming from v1.
More info:
https://github.com/payloadcms/payload/issues/3120Star
Discord
online
Get help straight from the Payload team with an Enterprise License.