Sha256: f4ff6bfdfe7d5fee0f0d162ebe5d1b0484de9acd0c248a37bc9f59395d5340f8
Contents?: true
Size: 787 Bytes
Versions: 8
Compression:
Stored size: 787 Bytes
Contents
"use strict"; exports.__esModule = true; var metadata = { group: "builtin-modules" }; exports.metadata = metadata; /** * [Please add a description.] */ var visitor = { /** * [Please add a description.] */ Program: { exit: function exit(program, parent, scope, file) { // ensure that these are at the top, just like normal imports var _arr = file.dynamicImports; for (var _i = 0; _i < _arr.length; _i++) { var node = _arr[_i]; node._blockHoist = 3; } program.body = file.dynamicImports.concat(program.body); if (!file.transformers["es6.modules"].canTransform()) return; if (file.moduleFormatter.transform) { file.moduleFormatter.transform(program); } } } }; exports.visitor = visitor;
Version data entries
8 entries across 8 versions & 3 rubygems