Problem
Seia currently using Vite's lib mode to build the app.
|
lib: { |
|
formats: ['es'], |
|
}, |
This is a wrong approach since we are building an end application.
Suggestion
We can read index.html file as an entry point, or we can provide 'virtual' index.html file at build time.
Willingness to Contribute
Related Issues
Problem
Seia currently using Vite's lib mode to build the app.
seia/packages/seia/src/build.ts
Lines 19 to 21 in 04ba632
This is a wrong approach since we are building an end application.
Suggestion
We can read
index.htmlfile as an entry point, or we can provide 'virtual'index.htmlfile at build time.Willingness to Contribute
Related Issues
__PURE__annotations being left on the source, possibly causing this issue.index.html, we can directly solve this issue at the same time.