import { JustAnimatePlugin } from './types' ; export const plugins = { } ; export function addPlugin ( plugin ) { plugins [ plugin . name ] = plugin ; } export function removePlugin ( plugin ) { delete plugins [ plugin . name ] ; }