Closed darkbasic closed 6 years ago
I have the same problem. I'm wondering why only rxjs has this problem but other imports don't.
Same as well. I had to replace every absolute path for rxjs with
path.resolve(__dirname, 'relative/path')
The same is true if you eject it with the --prod
flag:
new LicenseWebpackPlugin({
"licenseFilenames": [
"LICENSE",
"LICENSE.md",
"LICENSE.txt",
"license",
"license.md",
"license.txt"
],
"perChunkOutput": false,
"outputTemplate": "/home/niko/WebstormProjects/angularcli-meteor/node_modules/license-webpack-plugin/output.template.ejs",
As you can see the outputTemplate
of the LicenseWebpackPlugin
has absolute paths too.
@hansl should I open a separate bug report for LicenseWebpackPlugin
?
We still have absolute paths in the prod config...
Do you have any ETA for a release including that fix?
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
Angular-cli 1.5.0 fills my
webpack.config.js
with tons of aliases likeObviously the absolute path will not match on CI, while I didn't manage to make relative paths (like
node_modules/rxjs/_esm5/AsyncSubject.js
) work. What should I do?