Skip to content

Commit

Permalink
add require workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
haarg committed Oct 12, 2024
1 parent 62e6c7f commit 6d12cda
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build-release.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ const config = {
outdir: 'dist',
outExtension: { '.js': '.mjs' },
bundle: true,
banner: {

Check failure on line 12 in build-release.mjs

View workflow job for this annotation

GitHub Actions / lint

Missing space before value for key 'banner'
js: "import { createRequire } from 'node:module';\nconst require = createRequire(import.meta.url);",

Check failure on line 13 in build-release.mjs

View workflow job for this annotation

GitHub Actions / lint

Strings must use singlequote
},
platform: 'node',

Check failure on line 15 in build-release.mjs

View workflow job for this annotation

GitHub Actions / lint

Extra space before value for key 'platform'
target: ['node20'],

Check failure on line 16 in build-release.mjs

View workflow job for this annotation

GitHub Actions / lint

Extra space before value for key 'target'
dropLabels: ['NOCOMPILE'],

Check failure on line 17 in build-release.mjs

View workflow job for this annotation

GitHub Actions / lint

Extra space before value for key 'dropLabels'
Expand Down

0 comments on commit 6d12cda

Please sign in to comment.