Skip to content

CommonJS warnings of transitive dependencies and custom style imports #18526

@ms-dosx86

Description

@ms-dosx86

🐞 Bug report

Command (mark with an x)

  • new
  • build
  • serve
  • test
  • e2e
  • generate
  • add
  • update
  • lint
  • xi18n
  • run
  • config
  • help
  • version
  • doc

Description

After upgrading to v10 warnings appeared about CommonJS imports which is ok, but also there are warnings of transitive dependencies and warnings of style imports. We have our custom webpack config which changes the angular webpack config by using `css-loader` instead of `raw-loader` for `.less` files. There is a PR #18518 which fixes those warnings.

🔬 Minimal Reproduction

Here is a hello-world angular app where you can find everything.
https://github.com/ms-dosx86/commonjs-warnings-repro

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions