How to use the acorn-dynamic-import/lib/walk.default function in acorn-dynamic-import

To help you get started, we’ve selected a few acorn-dynamic-import examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github sverweij / dependency-cruiser / src / extract / ast-extractors / walk.js View on Github external
const walk = require("acorn-walk");
const inject = require("acorn-dynamic-import/lib/walk").default;

module.exports = inject(walk);