Skip to content

How can I log what is happening #77

@dagda1

Description

@dagda1

Hi,

I have an issue with my setup:

        {
          test: /\.(css|scss|sass)$/,
          use:  [
                ExtractCssChunks.loader,
                {
                  loader: 'css-loader',
                  options: {
                    importLoaders: 2,
                    modules: true,
                    getLocalIdent: getLocalIdent,
                    minimize: isProduction
                  }
                },
                { loader: 'postcss-loader', options: postcssOptions },
                { loader: 'sass-loader', options: sassOptions }
              ]
        }

If I have a scss file in the same directory as a typescript tsx file then the the typescript file does not get transpiled.

If I remove the scss file then the typescript file gets rendered.

I have no idea how to log what is happening apart from console logging all over node_modules.

Surely there is a better way?

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions