esbuild-plugin-postcss2 icon indicating copy to clipboard operation
esbuild-plugin-postcss2 copied to clipboard

Fix resolve path error

Open baurine opened this issue 4 years ago • 1 comments

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:

  • https://github.com/martonlederer/esbuild-plugin-postcss2/issues/27
  • https://github.com/evanw/esbuild/issues/1834

The root reason I have reported to resolve-file repo in https://github.com/doowb/resolve-file/issues/2#issuecomment-985319132

baurine avatar Dec 10 '21 09:12 baurine

I would recommend you to switch to the esbuild-style-plugin. It's maintained and working in this regards

fragsalat avatar May 03 '22 09:05 fragsalat