mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-05 05:59:30 +08:00
16 lines
No EOL
278 B
Text
16 lines
No EOL
278 B
Text
"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;
|
|
} |