Skip to content

Commit

Permalink
fix: types build metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
2fd committed Apr 4, 2024
1 parent 8799520 commit 8e0a7ae
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions bin/medatata.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ function append(path, data) {
}

append(`./lib_web/rregex.d.ts`, `/** Build metadata */\nexport const metadata: ${metadata}`)
append(`./lib_nodejs/rregex.d.ts`, `/** Build metadata */export const metadata: ${metadata}`)
append(`./lib_no_modules/rregex.d.ts`, `/** Build metadata */export const metadata: ${metadata}`)
append(`./lib_web/rregex.js`, `export const metadata = ${metadata}`)
append(`./lib_deno/rregex.js`, `export const metadata = ${metadata}`)
append(`./lib_cf/cf.mjs`, `export const metadata = ${metadata}`)
append(`./lib_nodejs/commonjs.cjs`, `module.exports.metadata = ${metadata}`)
append(`./lib_nodejs/rregex.d.ts`, `/** Build metadata */\nexport const metadata: ${metadata}`)
append(`./lib_no_modules/rregex.d.ts`, `/** Build metadata */\nexport const metadata: ${metadata}`)
append(`./lib_web/rregex.js`, `/** Build metadata */\nexport const metadata = ${metadata}`)
append(`./lib_deno/rregex.js`, `/** Build metadata */\nexport const metadata = ${metadata}`)
append(`./lib_cf/cf.mjs`, `/** Build metadata */\nexport const metadata = ${metadata}`)
append(`./lib_nodejs/commonjs.cjs`, `/** Build metadata */\nmodule.exports.metadata = ${metadata}`)

0 comments on commit 8e0a7ae

Please sign in to comment.