Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions napi/oxlint/scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ const oxlintDirPath = join(import.meta.dirname, '..'),
console.log('Building with tsdown...');
execSync('pnpm tsdown', { stdio: 'inherit', cwd: oxlintDirPath });

// Copy generated constants file
console.log('Copying generated files...');
copyFile(join(oxlintDirPath, 'src-js/generated/constants.mjs'), join(distDirPath, 'generated/constants.mjs'));

// Copy files from `napi/parser` to `napi/oxlint/dist/parser`
console.log('Copying files from parser...');

Expand Down
2 changes: 0 additions & 2 deletions napi/oxlint/tsdown.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ export default defineConfig({
// External native bindings
'./oxlint.*.node',
'oxlint-*',
// External the generated constants file - we'll copy it separately
'./generated/constants.mjs',
// These are generated (also used by oxc-parser, so we'll copy them separately)
/..\/parser\/.*/,
],
Expand Down
Loading