turbo
2362582f - Bug fix on with rollup (#7651)

Commit
1 year ago
Bug fix on with rollup (#7651) ### Description - fix `Parsing error: The keyword 'const' is reserved` in eslint-config package by excluding `apps/**` and `packages/**` from the root .eslintrc.js - include next.config.js in tsconfig.json to fix the error `ESLint was configured to run on next.config.js .However, that TSConfig does not include this file.` - set eslint to ignore .eslintrc.js in packages/ui (it was missed to ignore because it ends in .cjs not .js ) - add external packages in rollup to fix: ``` (!) Unresolved dependencies https://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency react/jsx-runtime (imported by "Header.tsx") ``` - update README ### Testing Instructions Running `npx create-turbo@latest -e with-rollup` and then `pnpm dev` should work fine. --------- Co-authored-by: Anthony Shew <anthony.shew@vercel.com>
Author
Parents
Loading