vtils

Home > types > PackageJson > NonStandardEntryPoints

PackageJson.NonStandardEntryPoints interface

Signature:

export interface NonStandardEntryPoints 

Properties

Property Modifiers Type Description
browser?   | string | Record<string, string | false> (Optional) A hint to JavaScript bundlers or component tools when packaging modules for client side use.
esnext?   | string | { [moduleName: string]: string | undefined; main?: string; browser?: string; } (Optional) A module ID with untranspiled code that is the primary entry point to the program.
module?   string (Optional) An ECMAScript module ID that is the primary entry point to the program.
sideEffects?   boolean | string[] <p>(Optional) Denote which files in your project are “pure” and therefore safe for Webpack to prune if unused.</p><p>[Read more.](https://webpack.js.org/guides/tree-shaking/)</p>