معرفی شرکت ها


rollup-plugin-inject-3.0.2


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

Scan modules for global variables and inject `import` statements where necessary
ویژگی مقدار
سیستم عامل -
نام فایل rollup-plugin-inject-3.0.2
نام rollup-plugin-inject
نسخه کتابخانه 3.0.2
نگهدارنده ['btd', 'guybedford', 'lukastaegert', 'rich_harris', 'shellscape']
ایمیل نگهدارنده ['bardadymchik@gmail.com', 'guybedford@gmail.com', 'lukas.taegert@tngtech.com', 'richard.a.harris@gmail.com', 'andrew@shellscape.org']
نویسنده Rich Harris
ایمیل نویسنده richard.a.harris@gmail.com
آدرس صفحه اصلی git+https://github.com/rollup/rollup-plugin-inject.git
آدرس اینترنتی https://github.com/rollup/rollup-plugin-inject#readme
مجوز MIT
# rollup-plugin-inject Scan modules for global variables and inject `import` statements where necessary ## Archived (Migration to Mono-Repo In-Process) This repository has been archived and is in the process of being migrated to a new monorepo. Please bear with us as we make this transition. More information to follow. ## Installation ```bash npm install --save-dev rollup-plugin-inject ``` ## Usage ```js import { rollup } from 'rollup'; import inject from 'rollup-plugin-inject'; rollup({ entry: 'main.js', plugins: [ inject({ // control which files this plugin applies to // with include/exclude include: '**/*.js', exclude: 'node_modules/**', /* all other options are treated as modules...*/ // use the default – i.e. insert // import $ from 'jquery' $: 'jquery', // use a named export – i.e. insert // import { Promise } from 'es6-promise' Promise: [ 'es6-promise', 'Promise' ], // use a namespace import – i.e. insert // import * as fs from 'fs' fs: [ 'fs', '*' ], // use a local module instead of a third-party one 'Object.assign': path.resolve( 'src/helpers/object-assign.js' ), /* ...but if you want to be careful about separating modules from other options, supply `options.modules` instead */ modules: { $: 'jquery', Promise: [ 'es6-promise', 'Promise' ], 'Object.assign': path.resolve( 'src/helpers/object-assign.js' ) } }) ] }).then(...) ```


نیازمندی

مقدار نام
^0.6.1 estree-walker
^0.25.3 magic-string
^2.8.1 rollup-pluginutils


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

مقدار نام
10.16.1 Npm


نحوه نصب


نصب پکیج tgz rollup-plugin-inject-3.0.2:

    npm install rollup-plugin-inject-3.0.2.tgz