1
mirror of https://github.com/jakejarvis/hugo-extended.git synced 2025-10-16 09:54:28 -04:00

Switch to ESM

This commit is contained in:
XhmikosR
2021-12-07 10:34:35 +02:00
parent e524abe8fa
commit e4b83248a0
8 changed files with 131 additions and 209 deletions

View File

@@ -1,3 +1,4 @@
'use strict';
import process from 'node:process';
import lib from './lib/index.js';
module.exports = require('./lib')(process.cwd()).path();
export default lib(process.cwd()).path();