Hello!
Im pretty new to Sage 10 development and setup, and im having trouble getting (RFS) dependency to work.
My installation is brand new so this is the first thing im trying to add.
I did
yarn add rfs
And then went to one of my styles files to import it like this:
resources>styles>common>test.scss
@import ‘rfs’;
.body {
color: lightsalmon;
@include font-size(4rem);
}
But I get the following error
$ bud dev
╭ sage [fedbeb0debf3dc50] ./public
│
│ │ Module build failed (from ../node_modules/postcss-loader/dist/cjs.js):
│ │ Error: Failed to find 'rfs'
│ │ in [
│ │ resources/styles/common
│ │ ]
│ │ at node_modules/postcss-import/lib/resolve-id.js:35:13
│ │ at async Promise.all (index 0)
│ │ at async LazyResult.runAsync (node_modules/postcss/lib/lazy-result.js:289:11)
│ │ at async Object.loader (node_modules/postcss-loader/dist/index.js:84:14)
│
╰ 1 error
Im assuming Im wrong on the path or how to tell PostCss that I just added RFS but I cannot find anything on how to solve this.
any help is appreciated