Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
patak-dev committed May 1, 2024
1 parent a09353e commit 848af54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/vite/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ warnCjsUsage()
module.exports.defineConfig = (config) => config

// proxy cjs utils (sync functions)
// eslint-disable-next-line n/no-missing-require -- will be generated by build
Object.assign(module.exports, require('./dist/node-cjs/publicUtils.cjs'))

// async functions, can be redirect from ESM build
Expand Down
3 changes: 3 additions & 0 deletions packages/vite/src/node/ssr/runtime/__tests__/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"name": "@vitejs/unit-runtime",
"private": true,
"version": "0.0.0",
"engines": {
"node": "^18.0.0 || >=20.0.0"
},
"dependencies": {
"@vitejs/cjs-external": "link:./fixtures/cjs-external",
"@vitejs/esm-external": "link:./fixtures/esm-external",
Expand Down

0 comments on commit 848af54

Please sign in to comment.