16 lines
278 B
JavaScript
16 lines
278 B
JavaScript
|
"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;
|
||
|
}
|