aidenybai / million

Optimize React performance and make your React 70% faster in minutes, not months.
https://million.dev
MIT License
15.89k stars 558 forks source link

craco export not exist in linter package #992

Closed ipostol closed 3 months ago

ipostol commented 3 months ago

What version of million are you using?

latest

Are you using an SSR adapter? If so, which one?

no

What package manager are you using?

yarn

What operating system are you using?

Mac

What browser are you using?

Chrome

Describe the Bug

const MillionCompiler = require('@million/lint');

module.exports = {
  plugins: [MillionCompiler.craco({ legacyHmr: true })],
};

craco not exist in MillionCompiler

I check compiler and it export all except craco

module.exports={babel,esbuild,next,rollup,rspack,unplugin,vite,webpack}

What's the expected result?

It possible to use linter with craco

Link to Minimal Reproducible Example

-

Participation

github-actions[bot] commented 3 months ago

Thanks for opening this issue! A maintainer will review it soon.

github-actions[bot] commented 3 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days.