4.0.0 • Published 7 years ago

acorn-dynamic-import v4.0.0

Weekly downloads
2,360,646
License
MIT
Repository
github
Last release
7 years ago

Dynamic import support in acorn

This is plugin for Acorn - a tiny, fast JavaScript parser, written completely in JavaScript.

For more information, check out the proposal repo.

Usage

Importing this module gives you a plugin that can be used to extend an Acorn parser:

import Parser from 'acorn';
import dynamicImport from 'acorn-dynamic-import';

Parser.extend(dynamicImport).parse('import("something");');

To extend the AST walker for dynamic imports, you can injecting the new node type into acorn-walk like this:

import inject from 'acorn-dynamic-import/lib/walk';
import * as acornWalk from 'acorn-walk';

const walk = inject(acornWalk);

License

This plugin is issued under the MIT license.

hiver-react-component-librarycloud-archive-s3@texttree/demo-bsa-reference-rclalex-d.jsrty-scaffoldcthpb-plugin-socialasterjs@everything-registry/sub-chunk-1094esm-dep-bundlerwepy-actwebpack4lightvue-compmentvcloudcam-playkit-js-hlsvue-dev-clone@docpocalypse/code-live@ct-note/table@ct-note/warning@ct-note/inline-code@ct-note/marker@ct-note/quote@ct-note/simple-image@ct-note/delimiter@caneco/siema@robmarr/nollupjs-utils-jll2jaycee_react_boilerkafirchain-tetris@xigua_front/webpacksolregex2@artiso-solutions/vue-html-to-paper@applaud/webpack-old@amory/npmfs@bit/bundler@ddder/webpack@darwishdev/dash-devzhufeng-webpackvuettextvue-v3-yandex-metrikaweaver-webpackwebpack_ybwebpack-talwebpack2webpack-4.17.1webpack-egoistwebpack-no-postinstall-failwebpack-no-postintall-failwebpack-debuggerwebpack-universal@duhongwei/parser@gsmlg/webpack@feat/feat-ui@godxiaoji/rollup-plugin-require-context@graines-digitales/nice-handsome-button@innodata/vue-v3-ya-metrika@kristoffertonning/vue-laravel-errors@kuimo/i18next-scanner@krwhitley/neataptic@ngxvoice/ngx-voicelistner@ngageoint/closure-webpack-plugin@ericmcornelius/ease@edoroshenko/codemirror@kano/i18n@jammercore/buble@jarrydark/editorsimplejs@dulcetjs/webpack@open-rpc/inspector@philpl/buble@novembrecom/zxcvbn@ovh-ux/manager-webpack-config@owodunni/inspector@outright/buble@seculum/vue-dev-clone@ricokahler/webpack3mwebpackmip-sandboxmini-html5miguelcostero-ng2-toastynanachi-webpackoutils-renpassbolt-i18next-scannersearch-list-reactsearch-input-reactrollup-plugin-require-context3rollup-plugin-require-contextrollup-plugin-require-context2rollup-plugin-nodentreact-misc-toolboxsamba-playerreiafy1234react-intl-messages-linternois-react-toastperugluglu_siriolibanes_psusplaykit-js-hls-sondqremove-defineproperty-webpack-pluginreifyquick-codingprimeng-custompulling-depsrk-anchormerld-webpack
4.0.0

7 years ago

3.0.0

7 years ago

2.0.2

8 years ago

2.0.1

9 years ago

2.0.0

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago