# Head's up: plug-compile removing --importmap option (and esbuild update)

**URL:** https://community.silverbullet.md/t/heads-up-plug-compile-removing-importmap-option-and-esbuild-update/3843
**Category:** Plug Development
**Created:** [February 6, 2026, 8:07am UTC](https://community.silverbullet.md/t/heads-up-plug-compile-removing-importmap-option-and-esbuild-update/3843 "2026-02-06T08:07:53Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![zef](https://community.silverbullet.md/user_avatar/community.silverbullet.md/zef/32/7_2.png) [@zef](https://community.silverbullet.md/u/zef)
#### Post date: [February 6, 2026, 8:07am UTC](https://community.silverbullet.md/t/heads-up-plug-compile-removing-importmap-option-and-esbuild-update/3843/1 "2026-02-06T08:07:53Z")

</div>

Recent Deno version included a regression (later fixed I think) that caused imports to fail for plug builds. This escalated into some push from the Deno community to switch SilverBullet's plug-compile code to use [@deno/esbuild-plugin - JSR](https://jsr.io/@deno/esbuild-plugin) instead of the legacy plugin we used before.

This all seems to work, but cannot support specific importmaps, so I had to remove the `--importmap` option from `plug-compile`. For as far as I can see most plug builds use the `-c` option to pass in a `deno.json` file (which can include an import map directly), but those who who still rely on explicit import maps, please move your imports to your `deno.json` file and use the `-c` option.

The new version of `deno-compile` should be part of the edge builds soon (which many of you use by default). Please check if your builds still work.

---

<div class="post-metadata">

### Author: ![MrMugame](https://community.silverbullet.md/user_avatar/community.silverbullet.md/mrmugame/32/358_2.png) [@MrMugame](https://community.silverbullet.md/u/MrMugame)
#### Post date: [February 6, 2026, 11:51pm UTC](https://community.silverbullet.md/t/heads-up-plug-compile-removing-importmap-option-and-esbuild-update/3843/2 "2026-02-06T23:51:52Z")

</div>

Does that mean we can finally import files as raw strings? So we can get rid of all the html as big strings files (like the panel\_html file for example)?

---

<div class="post-metadata">

### Author: ![zef](https://community.silverbullet.md/user_avatar/community.silverbullet.md/zef/32/7_2.png) [@zef](https://community.silverbullet.md/u/zef)
#### Post date: [February 7, 2026, 6:07am UTC](https://community.silverbullet.md/t/heads-up-plug-compile-removing-importmap-option-and-esbuild-update/3843/3 "2026-02-07T06:07:36Z")

</div>

You can try
