Skip to content

Commit

Permalink
fix(build): support @rollup/plugin-auto-install
Browse files Browse the repository at this point in the history
  • Loading branch information
underfin committed Jan 13, 2021
1 parent ae6cc27 commit 2e1c487
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/plugins/dynamicImportPolyfill.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ResolvedConfig } from '..'
import { Plugin } from '../plugin'
import { isModernFlag } from './importAnaysisBuild'

export const polyfillId = 'vite/dynamic-import-polyfill'
export const polyfillId = '/vite/dynamic-import-polyfill'

export function dynamicImportPolyfillPlugin(config: ResolvedConfig): Plugin {
const skip = config.command === 'serve' || config.build.ssr
Expand Down

0 comments on commit 2e1c487

Please sign in to comment.