You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The @ngtools/webpack loader throws an error if I'm using a package which was symlinked via yarn link and the resolve attribute inside the webpack config is containing '.ts' as an extension.
Bug Report or Feature Request (mark with an
x
)The
@ngtools/webpack
loader throws an error if I'm using a package which was symlinked viayarn link
and theresolve
attribute inside the webpack config is containing'.ts'
as an extension.Versions.
ngtools/webpack 1.8.0-rc.0
Repro steps.
Clone the basic example repository which is using webpack + ngtools/webpack:
https://github.com/cyr-x/ngtools-sample
Run
yarn
to install deps.Clone a very simple "package" repository:
https://github.com/cyr-x/package-sample
Symlink the
package-sample
repository viayarn link
.Run
yarn build && yarn start:prod
(=> everything works fine)Uncommend the
resolve
attribute inside thewebpack.config.js
and repeat step 5. An error is thrown during the build step.The log given by the failure.
Desired functionality.
The build should finish without an error.
The text was updated successfully, but these errors were encountered: