Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

176
Vistas
Parcel bundled type declarations not being exposed

So I am building a pure typescript library and using parcel as the bundler. when built it generates 3 files to the ./lib folder index.cjs.js index.es.js and index.d.ts now they build just fine and look alright but when installing it into the library the types just don't come up. This are the configs in my package.json. Please, thanks.

 "main": "lib/index.cjs.js",
 "module": "lib/index.es.js",
 "source": "./src/index.ts",
 "types": "lib/index.d.ts",
 "transformers": {
    "*.{ts,tsx}": ["@parcel/transformer-typescript-tsc"]
  },
 "scripts": {
    "test": "jest",
    "build": "rm -rf ./lib && parcel build --no-source-maps --no-cache",
    "lint": "eslint . --ext .js,.jsx,.ts,.tsx"
  },

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda