Debian Codegraph @

packages/babel-core/test/fixtures/config/complex-plugin-config/plugin.js

raw
1 module.exports = function(str) {
2 return function(babel) {
3 return {
4 visitor: {
5 Program: function(path) {
6 path.pushContainer("body", [
7 babel.types.expressionStatement(babel.types.identifier(str)),
8 ]);
9 },
10 },
11 };
12 };
13 };