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-clonejs-utils-jll2jaycee_react_boilerkafirchain-tetrisi18next-scanner-bli18next-scanner-dimi18next-scanner-esmi18next-scanner-fixhelp-widgetheisslrbceshilocal-dependency-packager@wepy-act/cli@wepy/cli@ucloud-fe/recodo-compiler@thedoctor0/vuex-shared-mutations@viankakrisna/react-dev-utils@xops.net/inspector-snapsang-webpack@zhujiantao/inspectora_react_reflux_demoa8kb2x-utilsbainfreemambadynamic-routes-webpack-plugineasyplayer-myes-countes-webpackfhir2fahad-redux-axios-midleware@bit/bundler@caneco/siemacanvas-fingerprintcarousel-reactcodesandbox-dependency-packagercodesandbox-dependency-packager-apicra-template-cpcourse-vue-tplbit-bundlerbublebuble-mindigital-keyboard-demos@applaud/webpack-old@artiso-solutions/vue-html-to-paper@amory/npmfs@xigua_front/webpacksolregex2zhufeng-webpackvuettextvue-v3-yandex-metrikaweaver-webpackwebpack_ybwebpack-talwebpack2webpack-4.17.1webpack-egoistwebpack-no-postinstall-failwebpack-no-postintall-failwebpack-debuggerwebpack-universalmwebpackmip-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-anchorme
4.0.0

7 years ago

3.0.0

8 years ago

2.0.2

9 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