Home > types > PackageJson > NonStandardEntryPoints
Signature:
export interface NonStandardEntryPoints
Property | 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[] | (Optional) Denote which files in your project are “pure” and therefore safe for Webpack to prune if unused.[Read more.](https://webpack.js.org/guides/tree-shaking/) |