Closed mehulkar closed 5 years ago
It has to match against the full path of the module, as it is shown in the analyzer output (i.e. including its parent blocks). So something like vendor/faker/faker.js
or so (not sure how the actual path may be). So either specify the full path, or something like **/faker.js
might also work!?
Sorry for the late answer btw!
It seems I'm unable to ignore
ENOENT: no such file or directory, open '/tmp/tmp-48418rOAT62azHVSa/2-vendor.js/home/psego/Development/Work/the-app/node_modules/three/examples/js/renderers/Projector.js'
I'v tried all of the suggestions above, except an absolute path, because this path changes with every build.
ignore: [
'*jector.js',
'**/Projector.js',
'*/three/examples/js/renderers/Projector.js',
'**/three/examples/js/renderers/Projector.js',
]
I'm using ember-cli-mirage and the biggest thing in my bundle analysis in vendor.js shows
faker.js
. I'd like to ignore it, since it doesn't go into production, but theignore
feature doesn't seem to be working. I've tried:It's very possible I'm just using it wrong, let me know if this is a better question for StackOverflow or if I am misunderstanding the
ignore
feature.