Tengo un paquete desde donde estoy exportando enumeraciones Animation.ts
enum AnimationType { FADEIN = 'fadein', FADEOUT = 'fadeout', BLINK = 'blink', SHAKE = 'shake', WIGGLE = 'wiggle', } export {AnimationType};Este es mi archivo de configuración acumulativo
export default [ { input: "src/index.ts", output: [ { file: packageJson.main, format: "cjs", sourcemap: false, }, { file: packageJson.module, format: "esm", sourcemap: false, }, ], plugins: [ resolve(), commonjs(), json({compact: true}), typescript({ tsconfig: "./tsconfig.json" }), filesize(), postcss({ writeDefinitions: true, plugins:[autoprefixer], }) ], }, { input: "dist/esm/types/index.d.ts", output: [{ file: "dist/index.d.ts", format: "esm" }], plugins: [dts()], }, ];Lo estoy exportando como un paquete pero no puedo importar enumeraciones. Recibo este error cuando el módulo de importación no tiene un miembro exportado 'AnimationType'.ts (2305)
Cómo resolver este error.