This repository has been archived on 2024-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
|
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = removeComments;
|
|
|
|
var _constants = require("../constants");
|
|
|
|
function removeComments(node) {
|
|
_constants.COMMENT_KEYS.forEach(key => {
|
|
node[key] = null;
|
|
});
|
|
|
|
return node;
|
|
} |