SCSS modules as separate packages

Hi all, I’m currently migrating NextJS project to monorepo and I’m not sure if that’s possible to separate SCSS modules to separate package in the way that I still can use them as modules and not build CSS code.

So that I want to have packages/styles repo, inside this repo is Form.module.scss for example and from my apps/web I want to use it like:

import formStyles from '@packages/styles'

<div className={styles.formWrapper} />