Open baurine opened 2 years ago
This PR is cherry-pick from: https://github.com/baurine/esbuild-plugin-postcss3/pull/4
What did:
Use resolve npm package instead of resolve-file npm package to resolve the import path, this can fix the 2 below bugs:
The root reason I have reported to resolve-file repo in https://github.com/doowb/resolve-file/issues/2#issuecomment-985319132
I would recommend you to switch to the esbuild-style-plugin. It's maintained and working in this regards
This PR is cherry-pick from: https://github.com/baurine/esbuild-plugin-postcss3/pull/4
What did:
Use resolve npm package instead of resolve-file npm package to resolve the import path, this can fix the 2 below bugs:
The root reason I have reported to resolve-file repo in https://github.com/doowb/resolve-file/issues/2#issuecomment-985319132