fix: remove drop console config
This commit is contained in:
@@ -44,10 +44,6 @@ export default defineConfig({
|
|||||||
minRatio: 0.8
|
minRatio: 0.8
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
},
|
|
||||||
jsMinifierOptions: {
|
|
||||||
drop_console: true,
|
|
||||||
drop_debugger: true
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
: {}),
|
: {}),
|
||||||
|
|||||||
@@ -79,14 +79,12 @@ const projectDataList = projectsData
|
|||||||
.sort((a, b) => b.value - a.value);
|
.sort((a, b) => b.value - a.value);
|
||||||
|
|
||||||
const dataList = APIRequestData.map((val, i) => {
|
const dataList = APIRequestData.map((val, i) => {
|
||||||
console.log('val', val);
|
|
||||||
return {
|
return {
|
||||||
time: times[i],
|
time: times[i],
|
||||||
value: val
|
value: val
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
const tokenUsage = TokensData.map((val, i) => {
|
const tokenUsage = TokensData.map((val, i) => {
|
||||||
console.log('val', val);
|
|
||||||
return {
|
return {
|
||||||
time: times[i],
|
time: times[i],
|
||||||
value: val
|
value: val
|
||||||
|
|||||||
Reference in New Issue
Block a user