@promoboxx/react-scripts-vite 0.2.3 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/viteConfig.js
CHANGED
|
@@ -46,7 +46,7 @@ var import_replaceEnvInHtml = __toESM(require("./replaceEnvInHtml"));
|
|
|
46
46
|
var pluginOptions = {
|
|
47
47
|
checker: {
|
|
48
48
|
eslint: process.env.DISABLE_ESLINT_PLUGIN === "true" ? void 0 : {
|
|
49
|
-
lintCommand: `eslint --max-warnings=${process.env.CI === "true" ? 0 : -1} "./src/**/*.{ts,tsx,js,jsx,mjs,cjs}"`
|
|
49
|
+
lintCommand: `eslint --cache --max-warnings=${process.env.CI === "true" ? 0 : -1} "./src/**/*.{ts,tsx,js,jsx,mjs,cjs}"`
|
|
50
50
|
},
|
|
51
51
|
typescript: process.env.TSC_COMPILE_ON_ERROR !== "true",
|
|
52
52
|
enableBuild: true,
|
package/dist/esm/viteConfig.mjs
CHANGED
|
@@ -11,7 +11,7 @@ import replaceEnvInHtml from "./replaceEnvInHtml.mjs";
|
|
|
11
11
|
var pluginOptions = {
|
|
12
12
|
checker: {
|
|
13
13
|
eslint: process.env.DISABLE_ESLINT_PLUGIN === "true" ? void 0 : {
|
|
14
|
-
lintCommand: `eslint --max-warnings=${process.env.CI === "true" ? 0 : -1} "./src/**/*.{ts,tsx,js,jsx,mjs,cjs}"`
|
|
14
|
+
lintCommand: `eslint --cache --max-warnings=${process.env.CI === "true" ? 0 : -1} "./src/**/*.{ts,tsx,js,jsx,mjs,cjs}"`
|
|
15
15
|
},
|
|
16
16
|
typescript: process.env.TSC_COMPILE_ON_ERROR !== "true",
|
|
17
17
|
enableBuild: true,
|