hexo-blogger-xml
Version:
Import xml blogger to hexo
20 lines (18 loc) • 854 B
text/typescript
import core from './hexo-core';
export * from './exports';
export { default as gulpCore } from './gulp-core';
//hexo.extend.filter.register("after_render:html", require("./lib/parser"), 5);
//hexo.extend.filter.register("after_render:html", require("./dist/hexo.test.js"), 5);
if (typeof hexo != 'undefined') {
core(hexo);
/*if (existsSync(path.join(__dirname, "./build/dist/hexo-core.js"))) {
//console.log("development mode");
require(path.join(__dirname, "./build/dist/hexo-core.js"))(hexo);
} else if (existsSync(path.join(__dirname, "./dist/hexo-core.js"))) {
//console.log("production mode");
require(path.join(__dirname, "./dist/hexo-core.js"))(hexo);
} else if (existsSync(path.join(__dirname, "./hexo-core.js"))) {
//console.log("production mode");
require(path.join(__dirname, "./hexo-core.js"))(hexo);
}*/
}