Skip to content

Comments

refactor: move require statements to make esbuild understand them#2

Open
benswinburne wants to merge 1 commit intolamblabo:mainfrom
benswinburne:esbuild-capable
Open

refactor: move require statements to make esbuild understand them#2
benswinburne wants to merge 1 commit intolamblabo:mainfrom
benswinburne:esbuild-capable

Conversation

@benswinburne
Copy link

The way the require statements were mapped over as non deterministic file names esbuild could not detect the json files to include into its bundle. Moving the require statements to the wn_files definition allows esbuild to resolve the dependencies

https://esbuild.github.io/api/#non-analyzable-imports

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant