Nuxt Scripts v1.3.15: Nitro Bundling and Module Type Fixes for the 1.x BranchBrief · digest for December 1
Brief≈ 1 min

Nuxt Scripts v1.3.15: Nitro Bundling and Module Type Fixes for the 1.x Branch

If you're on the stable @nuxt/scripts 1.x branch and load analytics or a third-party widget via local bundling, having a script vanish from server output or TypeScript complain about the module export is frustrating. Nobody wants to jump to a new major version just for those fixes — and you don't have to.

On November 30, 2026, @nuxt/scripts v1.3.15 shipped. Harlan Wilton and Daniel Roe backported the changes from issue #997 (commit 5475e), bringing fixes from the main development branch back to 1.x without changing the public API.

Three targeted fixes are inside. First, locally bundled scripts once again appear in Nitro's public server output (#995). Second, the default module export now has an explicit type (#996), keeping .d.ts declaration files intact under strict type checking. Third, the build transformer that strips the bundle option (#994) no longer breaks code syntax when followed by a spread operator ... or trailing comma.

If your project runs on 1.x, bump the dependency to ^1.3.15 and rebuild.

Want a deep diveVotes help us choose what to break down in detail. This material has 0 votes.
Sources · 2