We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55e61a2 commit e2a0317Copy full SHA for e2a0317
1 file changed
gulpfile.js
@@ -23,8 +23,8 @@ const getBaseHref = () => {
23
24
return options.baseHref;
25
};
26
-const viteBuildArgs = (mode) => {
27
- const args = ["vite", "build", "--mode", mode];
+const viteBuildArgs = () => {
+ const args = ["vite", "build"];
28
const baseHref = getBaseHref();
29
if (baseHref !== "/") {
30
args.push("--base", baseHref);
@@ -90,7 +90,7 @@ gulp.task(
90
"write-version",
91
function buildApp(done) {
92
var spawn = require("child_process").spawn;
93
- var proc = spawn("npx", viteBuildArgs("development"), {
+ var proc = spawn("npx", viteBuildArgs(), {
94
stdio: "inherit",
95
shell: true
96
});
0 commit comments