Skip to content

Commit 189b04f

Browse files
committed
this was never used outside tests
1 parent ba9f002 commit 189b04f

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/utils/normalize-options.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ export interface NormalizedOptions {
7272
global?: string;
7373
};
7474
flags: Record<string, Record<string, boolean | null>>;
75-
svelte: unknown;
7675
debugTools: {
7776
isDebug: boolean;
7877
debugToolsImport: string;
@@ -98,7 +97,6 @@ export function normalizeOptions(options: UserOptions): NormalizedOptions {
9897
return {
9998
externalizeHelpers: options.externalizeHelpers,
10099
flags: parseFlags(options),
101-
svelte: options.svelte,
102100
debugTools: parseDebugTools(options),
103101
};
104102
}

tests/normalize-options-test.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ describe('normalizeOptions', function () {
6161
},
6262
},
6363
externalizeHelpers: undefined,
64-
svelte: { 'ember-source': '1.2.0' },
6564
};
6665

6766
expect(actual).toEqual(expected);
@@ -87,7 +86,6 @@ describe('normalizeOptions', function () {
8786
whatever: { DEBUG: true },
8887
},
8988
externalizeHelpers: undefined,
90-
svelte: { foo: '1.2.0' },
9189
};
9290

9391
expect(actual).toEqual(expected);
@@ -113,7 +111,6 @@ describe('normalizeOptions', function () {
113111
whatever: { DEBUG: true },
114112
},
115113
externalizeHelpers: undefined,
116-
svelte: { foo: '1.0.0' },
117114
};
118115

119116
expect(actual).toEqual(expected);
@@ -139,7 +136,6 @@ describe('normalizeOptions', function () {
139136
whatever: { DEBUG: true },
140137
},
141138
externalizeHelpers: undefined,
142-
svelte: { foo: '1.2.0' },
143139
};
144140

145141
expect(actual).toEqual(expected);

0 commit comments

Comments
 (0)