FormidableLabs / FormidableLabs/inspectpack

Feature: Remove loaders from file prefixes.

Open
#79 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
590
Forks
20
PR merge metrics
No merged PRs in 30d

Description

Resolve `identifier`s better for things like:

```sh
$ node bin/inspectpack.js -s test/fixtures/loaders/dist-development-4/stats.json -a sizes | grep "\!"
* /Users/rye/scm/fmd/inspectpack/node_modules/css-loader/index.js!/Users/rye/scm/fmd/inspectpack/test/fixtures/loaders/src/style.css
* /Users/rye/scm/fmd/inspectpack/node_modules/raw-loader/index.js!/Users/rye/scm/fmd/inspectpack/test/fixtures/loaders/src/hello.txt
```

- [x] Handle `_isNodeModules` inference correctly ( PR #99 )
- [ ] Potentially add another field for "path" or something. Would work for both node_modules and app source.
- [ ] Check and test on Mac.
- [ ] Check and test on Windows.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.