You've already forked hugo-extended
mirror of
https://github.com/jakejarvis/hugo-extended.git
synced 2025-07-03 10:06:36 -04:00
Update README.md
This commit is contained in:
@ -15,8 +15,8 @@ hugo-bin now supports the [Extended Hugo version](https://github.com/gohugoio/hu
|
||||
### API
|
||||
|
||||
```js
|
||||
const { execFile } = require('child_process');
|
||||
const hugo = require('hugo-bin');
|
||||
import { execFile } from 'node:child_process';
|
||||
import hugo from 'hugo-bin';
|
||||
|
||||
execFile(hugo, ['version'], (error, stdout) => {
|
||||
if (error) {
|
||||
|
Reference in New Issue
Block a user