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
Hi, in my angular project I am unable to load 4 instances. I believe thats because of operations like ?? or ||.
This is one of the Errors:
ERROR in ./node_modules/@material/material-color-utilities/utils/theme_utils.js 101:27
Module parse failed: Unexpected token (101:27)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders_
Hi, in my angular project I am unable to load 4 instances. I believe thats because of operations like
??
or||
.This is one of the Errors:
ERROR in ./node_modules/@material/material-color-utilities/utils/theme_utils.js 101:27
Module parse failed: Unexpected token (101:27)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders_
| export function applyTheme(theme, options) {
> const target = options?.target || document.body;
| const isDark = options?.dark ?? false;
| const scheme = isDark ? theme.schemes.dark : theme.schemes.light;
Does anybody know how to configure a loader for a specific file?
The text was updated successfully, but these errors were encountered: