Webpack configuration allows the use of various loaders, such as file-loader
, html-loader
, css-loader
, json-loader
, raw-loader
, style-loader
, to-string-loader
, url-loader
, and awesome-typescript-loader
.
Does Angular have built-in knowledge of loaders without requiring explicit Webpack configuration? It is possible that Angular uses internal loaders behind the scenes.
I am currently working on an enterprise Angular 6 application with all these loaders included. However, I am unsure if they are actually necessary. Typically, loaders need to be specified in the webpack.config.json
file, but my project does not have any Webpack configuration. The only configuration present is a short tsconfig.webpack.json
, which mainly focuses on TypeScript rather than Webpack.
Could it be possible that these loaders are simply leftover dependencies from previous migrations in my case?