react18-tools / esbuild-plugin-react18

Build Awesome Libraries using React Server Components and make your Mark! - an esbuild plugin for compiling libraries compatible with React 18 server and client component, Nextjs13, Nextjs14
Mozilla Public License 2.0
9 stars 1 forks source link

Plugin didn't set a resolve directory for the file #19

Open mayank1513 opened 5 months ago

mayank1513 commented 5 months ago

Bug Description When employing ignorePatterns alongside contentPatterns or sourceReplacePatterns, and when the target files import a library from the node_modules, the build process encounters a failure.

Steps to Reproduce Uncomment the tests marked with test.todo in lib/__tests__/index.test.ts.

Desired Outcome This scenario should be managed smoothly without generating any errors.

Upvote & Fund

Fund with Polar