aidenybai / million

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

📝 Documentation: Typo in the docs while doing manual installation #1038

Closed palashmon closed 1 month ago

palashmon commented 1 month ago

Bug Report Checklist

Overview

Description

In the step 2 inside the Manual Installation for Webpack, it is mentioned that:

const million = require("@million/lint");
module.exports = {
  plugins: [MillionLint.webpack()],
};

Expected Behavior:

The installation should proceed successfully without any errors.

Actual Behavior:

An error message is displayed after running the dev server, stating "ReferenceError: MillionLint is not defined".

Additional Info

No response

github-actions[bot] commented 1 month ago

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

aidenybai commented 1 month ago

Thanks!