You've already forked hugo-extended
mirror of
https://github.com/jakejarvis/hugo-extended.git
synced 2025-07-19 09:45:30 -04:00
Switch to ESM
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
const path = require('path');
|
||||
const bin = require('.');
|
||||
import path from 'node:path';
|
||||
import process from 'node:process';
|
||||
import bin from './index.js';
|
||||
|
||||
function getProjectRoot() {
|
||||
// `projectRoot` on postinstall could be INIT_CWD introduced in npm >= 5.4
|
||||
|
Reference in New Issue
Block a user