You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
Hello @laibin-wang. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with needs reproduction will be closed if they have no activity within 3 days.
Describe the bug
vite5 + elemnt-plus 2.6,有时候构建ok 有时候 构建出现elemnt-plus中table v2 种的常量定义打包到index-*.js 主文件出现变量位定义
var tableV2$1 = {}, tableV2 = {}, useTable = {}, composables$1 = {}, useColumns = {}, constants$4 = {}, hasRequiredConstants$4;
function requireConstants$4() {
if (hasRequiredConstants$4)
return constants$4;
hasRequiredConstants$4 = 1,
Object.defineProperty(constants$4, "__esModule", {
value: !0
});
var e = (e => (e.ASC = "asc",
e.DESC = "desc",
e))(e||{})
, t = (e => (e.CENTER = "center",
e.RIGHT = "right",
e))(t||{})
, r = (e => (e.LEFT = "left",
e.RIGHT = "right",
e))(r||{});
const n = {
asc: "desc",
desc: "asc"
};
return constants$4.Alignment = t,
constants$4.FixedDir = r,
constants$4.SortOrder = e,
constants$4.oppositeOrderMap = n,
constants$4.sortOrders = ["asc", "desc"],
constants$4
}
3var tableV2$1 = {}, tableV2 = {}, useTable = {}, composables$1 = {}, useColumns = {}, constants$4 = {}, hasRequiredConstants$4;
function requireConstants$4() {
if (hasRequiredConstants$4)
return constants$4;
hasRequiredConstants$4 = 1,
Object.defineProperty(constants$4, "__esModule", {
value: !0
});
var e = (e => (e.ASC = "asc",
e.DESC = "desc",
e))(e)
, t = (e => (e.CENTER = "center",
e.RIGHT = "right",
e))(t)
, r = (e => (e.LEFT = "left",
e.RIGHT = "right",
e))(r);
const n = {
asc: "desc",
desc: "asc"
};
return constants$4.Alignment = t,
constants$4.FixedDir = r,
constants$4.SortOrder = e,
constants$4.oppositeOrderMap = n,
constants$4.sortOrders = ["asc", "desc"],
constants$4
}
Reproduction
无法提供
Steps to reproduce
pnpm install vite build
System Info
Used Package Manager
pnpm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: