claviska / claviska/esbuild-plugin-inline-import
Plugin embeds path instead of file contents
Open
question
- Dominant language
- JavaScript
- Stars
- 38
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
There doesn't seem to be a way to make this plugin work with `@chialab/esbuild-plugin-html`. If I list your plugin before the latter, then I see the `build.onResolve({ filter }, async args => {` code block running.
```
return {
path: filePath,
namespace
};
```
returns the corrects path. However, the second block `build.onLoad({ filter: /.*/, namespace }, async args => {` never gets invoked.
Any idea what could be wrong?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.