Skip to content

Commit

Permalink
Merge pull request #26 from gandalf-network/staging
Browse files Browse the repository at this point in the history
Staging -> Prod [ Fix ESM Breaking Build ]
  • Loading branch information
TosinJs authored Mar 24, 2024
2 parents ad47d5d + cad5437 commit 19d984a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gandalf-network/eyeofsauron",
"version": "1.0.7",
"version": "1.0.8",
"description": "",
"main": "dist/index.js",
"bin": {
Expand Down
5 changes: 4 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ program
type: 'list',
name: 'moduleSystem',
message: 'Select the Javascript Module system for generating the JS files:',
choices: ['ESModules', 'CommonJS'],
choices: [
'ESModules { import syntax: import Eye, { Source } from "./eyeofsauron/index.js" }',
'CommonJS { import syntax: const Eye = require("./eyeofsauron").default }'
],
default: 'ESModules',
when: (answers) => answers.language === 'javascript',
},
Expand Down
File renamed without changes.

0 comments on commit 19d984a

Please sign in to comment.