Replies: 2 comments
-
I’m trying to integrate Oxlint into my monorepo to improve linting, but I can't find clear information on how to configure it properly. Can someone guide me on the necessary steps to implement it in a monorepo? Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
-
this is my config using esbuild import { build } from 'esbuild';
import isolated from 'unplugin-isolated-decl/esbuild';
build({
entryPoints: ['./src/index.ts'],
outdir: './types',
bundle: true,
platform: 'node',
target: 'node22.12.0',
// format: 'cjs',
format: 'esm',
plugins: [
isolated({
include: './src/**',
exclude: [/node_modules/],
ignoreErrors: true,
extraOutdir: 'temp',
}),
],
loader: {
'.png': 'file',
'.ttf': 'file',
'.node': 'file',
},
external: ['@aws-sdk/client-sts', '@aws-sdk/client-sso-oidc'],
}).catch(() => process.exit(1)); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
how to use oxc.isolatedDeclaration to generate a .d.ts for a monorepo package ?
Beta Was this translation helpful? Give feedback.
All reactions