Closed ShirasawaSama closed 2 years ago
I think the problem is actually that you're trying to use the glob resolver with a package inside node_modules rather than a relative path. Pipelines should already be working properly. Closing as a duplicate of #7945.
π bug report
A text file can be normally bundled when I use this code (bundle-text:):
But if I use glob expression, only an empty object
{}
is returned:π Configuration (.babelrc, package.json, cli command)
.parcelrc:
π€ Expected Behavior
Can return the contents of multiple files normally:
π― Current Behavior
Only one empty object was returned:
π Possible Solution
packages/parcel-transformer-glob-text/index.js:
.parcelrc:
index.js:
π¦ Context
π» Code Sample
π Your Environment