We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
vite-plugin-externalize-deps
except
1 parent 34a3826 commit fe0f59eCopy full SHA for fe0f59e
2 files changed
src/build/index.d.ts
@@ -10,7 +10,7 @@ export type Options = {
10
/** Directory where build output will be placed, e.g. `./dist` */
11
outDir?: string
12
/** Additional externals to include` */
13
- externalInclude?: string[]
+ bundledDeps?: string[]
14
}
15
16
export function tanstackBuildConfig(config: Options): UserConfig
src/build/index.js
@@ -14,7 +14,7 @@ export const tanstackBuildConfig = (options) => {
return defineConfig({
plugins: [
17
- externalizeDeps({ include: options.externalInclude || [] }),
+ externalizeDeps({ except: options.bundledDeps || [] }),
18
preserveDirectives(),
19
dts({
20
outDir: `${outDir}/esm`,
0 commit comments