We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82e968f commit 283db5dCopy full SHA for 283db5d
src/vite-plugin-eslint4b.ts
@@ -90,10 +90,14 @@ export default function eslint4b(): VitePlugin {
90
result.resolve.alias.eslint = virtualESLintModuleId;
91
92
if (!hasAlias("path")) {
93
- result.resolve.alias.path = path.normalize(path.join(dirname, "../shim/path-shim.mjs"));
+ result.resolve.alias.path = path.normalize(
94
+ path.join(dirname, "../shim/path-shim.mjs"),
95
+ );
96
}
97
if (!hasAlias("fs")) {
- result.resolve.alias.fs = path.normalize(path.join(dirname, "../shim/fs-shim.mjs"));
98
+ result.resolve.alias.fs = path.normalize(
99
+ path.join(dirname, "../shim/fs-shim.mjs"),
100
101
102
103
if (config.define?.["process.env.NODE_DEBUG"] === undefined) {
0 commit comments