Closed mibib7 closed 4 years ago
The error is related to sass-loader and how the Sass partial files are being imported. Are you using the iModel.js webpack tools or your own? If you're using your own, a webpack configuration rule like the following is required:
const config: webpack.Configuration = { module: { rules: [ . . . { loader: require.resolve("sass-loader"), options: { includePaths: [path.resolve(__dirname, "..", "node_modules")], }, test: /.scss$/, }, . . .
I am trying to create a basic OIDC SignIn page using the provided components of ImodelJS on an external project to the monorepo.
To do so, I used
npm install
to install what I think are the minimal dependencies needed. Here's is the partial content on mypackage.json
file:Based on the
ui-test-app
code, I wanted to write a basicSignIn
component, but I end up with the following error during compilation:My code, at the present, only consist of: