Sha256: 0c0e1451198762ff16b08992b3ccff1a34f563d15f97585b65f336d88d6c8af3
Contents?: true
Size: 499 Bytes
Versions: 8
Compression:
Stored size: 499 Bytes
Contents
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = function (_ref) { var Plugin = _ref.Plugin; var t = _ref.types; return new Plugin("remove-console", { metadata: { group: "builtin-pre" }, visitor: { CallExpression: function CallExpression() { if (this.get("callee").matchesPattern("console", true)) { this.dangerouslyRemove(); } } } }); }; module.exports = exports["default"];
Version data entries
8 entries across 8 versions & 3 rubygems