zoomeez_
08/31/2021, 4:16 PMimport { StyleProvider } from "supertokens-auth-react/lib/ts/styles/styleContext";
On compile i get
./node_modules/supertokens-auth-react/lib/ts/styles/styleContext.tsx 19:5
Module parse failed: Unexpected token (19:5)
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
| import { NormalisedDefaultStyles, NormalisedPalette, Styles } from "../types";
|
> type NormalisedStyle = {
| palette: NormalisedPalette;
| [x: string]: CSSObject;
my webpack config has a rule with { test: /\.tsx?$/, use: 'ts-loader' }
.
Has somebody encountered this issue or knows the correct config?