Skip to content
This repository has been archived by the owner on Jan 4, 2021. It is now read-only.

alloc/vite-plugin-dedupe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vite-plugin-dedupe

Ensure only one copy of a package with global state ever exists in your bundle.

import dedupe from 'vite-plugin-dedupe'

export default {
  plugins: [
    dedupe(['react', 'react-dom']),
  ],
}

About

Ensure only one copy of a package with global state ever exists in your bundle

Topics

Resources

License

Stars

Watchers

Forks