0.1.1 • Published 5 years ago
vite-plugin-dedupe v0.1.1
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']),
],
}