You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test(unplugin): full webpack build smoke with memfs + esbuild TS loader
Closes the deferred follow-up from 474025f. The previous webpack coverage
was shape (factory returns plugin with apply method) + compiler-attach
(plugin.apply() against a real webpack compiler without throwing). That
catches the 90% failure mode but leaves a build-level regression
invisible — a transform-hook mis-wiring would still construct a
compiler and only surface when the bundle actually runs.
New test: real programmatic webpack 5 build with memfs as the output
filesystem. The inline TS loader is ~12 LOC that delegates to esbuild's
transform API — self-contained, no dependency on ts-loader /
esbuild-loader / @swc/loader. Same stable marker assertions as the
Rollup / esbuild / Rolldown smokes (`data-rozie-s-` scope attribute,
rozieSpread / rozieListeners runtime helpers, class Smoke /
rozie-smoke).
Lit + @rozie/runtime-lit marked external so the smoke is about the
unplugin's transform pipeline integrating with webpack, not Lit's
dependency graph. 30s test timeout for webpack's cold start.
Suite: 15 files, 134 tests (was 133). turbo run test --filter
@rozie/unplugin --force green; turbo run typecheck --force --continue
47/47 green.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments