skip to Main Content

Visual Studio Code – How to make IntelliSense aware of exports in package.json?

I got a package.json where I export different scripts using the exports field. "exports": { ".": { "default": "./dist/main.es.js", "require": "./dist/main.cjs.js", "types": "./dist/main.d.ts" }, "./utils": { "default": "./dist/utils.es.js", "require": "./dist/utils.cjs.js", "types": "./dist/utils.d.ts" }, "./segments/*": { "default": "./dist/webvtt/segments/*.es.js", "require": "./dist/webvtt/segments/*.cjs.js", "types":…

VIEW QUESTION
Back To Top
Search