You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import React from "react";
import ReactDOM from "react-dom";
import { renderSync } from 'sass-extract';
const theme = renderSync(
{ file: './theme.scss' },
{ plugins: ['sass-extract-js'] }
).vars;
My theme.scss file exists and just has one variable defined in it. When I try to start my project I get this:
./node_modules/node-sass/lib/binding.js
19:9-37 Critical dependency: the request of a dependency is an expression
./node_modules/sass-extract/lib/pluggable.js
52:17-32 Critical dependency: the request of a dependency is an expression
This seems to happen with sass-extract version 2 and 1.0.1.
Am I missing something? Any help or assistance would be much appreciated!
The text was updated successfully, but these errors were encountered:
I think I had sass-extract version 2, so I ran npm install sass-extract@^1.0.1 and verified that it's 1.0.1 in my node_modules directory, but I still get the same error.
Here's a small capture of what I see in the browser since I didn't include that before.
I have this:
My
theme.scss
file exists and just has one variable defined in it. When I try to start my project I get this:This seems to happen with sass-extract version 2 and 1.0.1.
Am I missing something? Any help or assistance would be much appreciated!
The text was updated successfully, but these errors were encountered: