Skip to content

Commit

Permalink
chore: update ESM docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Oct 11, 2023
1 parent 3d27e5a commit dc36cfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/esm.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ First you will need to update the bin scripts under the `bin` directory.
Rename `bin/dev` to `bin/dev.js` and replace the existing code with the following:

```js
#!/usr/bin/env node
#!/usr/bin/env -S node --loader ts-node/esm --no-warnings=ExperimentalWarning
// eslint-disable-next-line node/shebang
async function main() {
const {execute} = await import('@oclif/core')
Expand Down

0 comments on commit dc36cfb

Please sign in to comment.