Optional
defaultOptional
developmentWhere should exports point to in your development packageJson file
By default, to let you develop locally with the same code as you'd publish, the development packageJson targets the outDir where your built package is supposed to be. This expects you to build the package before running it. (Turbo can orchestrate this for you!)
But if you wish your local packages to use the source code directly you can set this to 'source' and then exports will point inside your 'src' folder. This can be useful for packages that are not transpiled and are supposed to be used as is.
Types always point to the source dir so the typescript LSP can provide real-time feedback in other packages too without having to rebuild all the time!
Optional
exportOptional
exportWhether or not automatically export the package.json file too.
Note: If you want to refer to the actual distributed package.json in your scripts, you should import it through an export and not use a direct json import, your bundler will bundle your compile time package.json in, and your users will end up using that information, not what was published.
Optional
exportsOptional
exportsOptional
svelteAdd svelte export conditions or not
AutoExport
By default test files are excluded.
This option is here if you deliberately want to drop the default ignores. Otherwise use
exportsIgnore
.