Stop leaking pathnames in generated files
See original GitHub issueAfter ng build
, some of the generated files contain folder names from my computer.
Something like this:
module.exports = __webpack_require__(/*! /home/my/username/my/projects/something/src/main.ts */"./src/main.ts");
I’ve noticed this in the following files:
- styles.js
- polyfill.js
- main.js
For developers that wish to remain anonymous, this can be an important issue. Is there some flag to prevent this? Also it would be nice to either have this off by default, or have a hint in the generated comment about how to turn it off.
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (1 by maintainers)
Top Results From Across the Web
Testing in Go: Stop Leaking Files - Ilija Eftimov
Starting from Go v1.15, there will be a nice way to do this: TB.TempDir() . To clean up the test files, we can...
Read more >CWE-22: Improper Limitation of a Pathname to a Restricted ...
The software uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a...
Read more >There is a memory leak when sharing file URL using ...
So how can I share a file URL with no memory leak? NSURL *path = [NSURL URLWithString:@"https://stackoverflow.com/"]; UIActivityViewController * ...
Read more >Improper Limitation of a Pathname to a Restricted Directory ...
The software uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a...
Read more >Valgrind Suppression File Howto - WxWiki - wxWidgets
It's very good at finding leaks and uninitialised variables; unfortunately it's too good, and usually produces a number of false positives.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @h908714124, we only expose essential functionality of the bundler, in this case Webpack. This gives us more flexibility and have the possibility of changing the bundler without breaking the API.
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.