build(vite): 폐기 예정 build.rollupOptions를 rolldownOptions로 바꾼다
문제: 앱·Service Worker·선택 레시피 번들의 청크 설정이 Vite 8에서 @deprecated인 build.rollupOptions 별칭에 있었다(0929/13-07, 세 라운드 남음). 별칭이 지워지는 Vite 버전으로 올리면 청크 그룹과 treeshake 설정이 조용히 빠질 수 있다. 고른 방법: 세 곳의 키 이름만 rolldownOptions로 바꾼다. 내용은 그대로다. 위험·한계: 없음에 가깝다. 같은 설정의 정식 이름이다. 검증: 바꾸기 전후 빌드의 dist/assets 파일 이름이 모두 같다(해시가 같아 출력이 같다). service-worker-build-output 7건 통과, check:optional-recipes PASS(레시피 예산 4개 그대로). Refs: docs/reviews/2026-11-03-maturity-review/13-build-release-supply-chain.md 0929/13-07
This commit is contained in:
@@ -127,7 +127,7 @@ export async function measureOptionalRecipeBundle(input: Readonly<{
|
||||
copyPublicDir: false,
|
||||
cssCodeSplit: false,
|
||||
reportCompressedSize: false,
|
||||
rollupOptions: {
|
||||
rolldownOptions: {
|
||||
input: virtualEntry,
|
||||
// Budget the complete selected runtime, including internal fail-closed
|
||||
// guards that a synthetic consumer cannot predict it will exercise.
|
||||
|
||||
+1
-1
@@ -181,7 +181,7 @@ export default defineConfig(({ command, mode }) => {
|
||||
build: {
|
||||
manifest: true,
|
||||
sourcemap: false,
|
||||
rollupOptions: {
|
||||
rolldownOptions: {
|
||||
/**
|
||||
* 1101/08-08. The design-system modules have no top-level effects:
|
||||
* they declare components, icons and token lists. Declared so, a
|
||||
|
||||
@@ -76,7 +76,7 @@ export default defineConfig({
|
||||
// §17.2.2: exactly one input, exactly one output, no additional chunk.
|
||||
emptyOutDir: false,
|
||||
sourcemap: false,
|
||||
rollupOptions: {
|
||||
rolldownOptions: {
|
||||
input: "src/adapters/service-worker/service-worker-entry.ts",
|
||||
output: {
|
||||
format: "es",
|
||||
|
||||
Reference in New Issue
Block a user