معرفی شرکت ها


rollup-plugin-polyfill-node-0.12.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

rollup-plugin-polyfill-node ===
ویژگی مقدار
سیستم عامل -
نام فایل rollup-plugin-polyfill-node-0.12.0
نام rollup-plugin-polyfill-node
نسخه کتابخانه 0.12.0
نگهدارنده ['fredkschott']
ایمیل نگهدارنده ['fkschott@gmail.com']
نویسنده -
ایمیل نویسنده -
آدرس صفحه اصلی git+https://github.com/FredKSchott/rollup-plugin-polyfill-node.git
آدرس اینترنتی https://github.com/FredKSchott/rollup-plugin-polyfill-node#readme
مجوز MIT
rollup-plugin-polyfill-node === 🔩 A modern Node.js polyfill for your Rollup bundle. > This repo is an updated, maintained fork of https://github.com/ionic-team/rollup-plugin-node-polyfills to support better Node.js polyfills in Snowpack and all other Rollup projects. See this thread for discussion on moving this plugin into the official Rollup org: https://github.com/rollup/plugins/pull/51#issuecomment-747489334 > > **This repo is completely community-maintained.** If you have an issue and know JavaScript, help out and submit a PR. This may be the only way to get your issue resolved! ## Quickstart ``` npm install --save-dev rollup-plugin-polyfill-node ``` ```js import nodePolyfills from 'rollup-plugin-polyfill-node'; rollup({ entry: 'main.js', plugins: [ nodePolyfills( /* options */ ) ] }) ``` ## Options *All options are optional.* - `include: Array<string | RegExp> | string | RegExp | null;`: Defaults to transforming Node.js builtins in all `node_modules/**/*.js` files only. Pass in `null` to transform all files, including all files including any source files. - `exclude: Array<string | RegExp> | string | RegExp | null;`: Exclude files from transformation. - `sourceMap: boolean`: True to get source maps, false otherwise. ## Node.js Builtin Support Table The following modules include ES6 specific version which allow you to do named imports in addition to the default import and should work fine if you only use this plugin. - process* - events - stream* - util* - path - buffer* - querystring - url* - string_decoder* - punycode - http*† - https*† - os* - assert* - constants - timers* - console*‡ - vm*§ - zlib* - tty - domain - dns∆ - dgram∆ - child_process∆ - cluster∆ - module∆ - net∆ - readline∆ - repl∆ - tls∆ - fs˚ - crypto˚ - perf_hooks˚ - **New:* just an empty shim for now, but would love help building a true polyfill!* † the http and https modules are actually the same and don't differentiate based on protocol ‡ default export only, because it's console, seriously just use the global § vm does not have all corner cases and has less of them in a web worker ∆ not shimmed, just returns mock ˚ shimmed, but too complex to polyfill fully. Avoid if at all possible. Some bugs and partial support expected. Not all included modules rollup equally, streams (and by extension anything that requires it like http) are a mess of circular references that are pretty much impossible to tree-shake out, similarly url methods are actually a shortcut to a url object so those methods don't tree shake out very well, punycode, path, querystring, events, util, and process tree shake very well especially if you do named imports.


نیازمندی

مقدار نام
^5.0.1 @rollup/plugin-inject


زبان مورد نیاز

مقدار نام
16.14.0 Npm


نحوه نصب


نصب پکیج tgz rollup-plugin-polyfill-node-0.12.0:

    npm install rollup-plugin-polyfill-node-0.12.0.tgz