Describe the bug
Vite uglify modules names, I wrote workaround for finding module.
let newPaneHeight =
(await pane.modules.fitHeight.getPaneFitHeight()) as number
let fitHeightModule = pane.modules.fitHeight
if (!fitHeightModule) {
for (const key in pane.modules)
if (typeof pane.modules[key].calcFitHeight === 'function') {
fitHeightModule = pane.modules[key]
}
}
let newPaneHeight = (await fitHeightModule.getPaneFitHeight()) as number
To Reproduce
Steps to reproduce the behavior:
vite build
Expected behavior
modules not uglify
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
Describe the bug Vite uglify modules names, I wrote workaround for finding module.
To Reproduce Steps to reproduce the behavior:
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.