Building Misskey with Vize #71
Replies: 17 comments 19 replies
-
|
I'll improvement on misskey and elk, thanks |
Beta Was this translation helpful? Give feedback.
-
|
Tried v0.10.0 (with vite v8 beta 16) and the errors decreased down to 2! Good work! Logs |
Beta Was this translation helpful? Give feedback.
-
|
Update to v0.15.0 - and finally went through all of the build process! It seems there's an issue with the v-deep selector. While it's unclear at which layer this error was introduced, I think it's worth noting. Log |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Just tried v0.62.0 (sorry for absence - i was busy bundling backend with rolldown!) Build failed with this setup (in <template>
<Comp v-model="reactiveObject" />
</template>
<script lang="ts" setup>
import { reactive } from 'vue';
const reactiveObject = reactive({ foo: 'bar' });
</script>That said, I think our use case is an edge case and it somehow works with the current compiler, so I treated this as a user code issue and replaced it with Time directly reported by vize plugin is [
{
"transform": {
"invokeCount": 2520,
"totalTime": 219
},
"resolveId": {
"invokeCount": 5106,
"totalTime": 648330
},
"name": "vite-plugin-vize",
"enforce": "pre"
},
{
"transform": {
"invokeCount": 1485,
"totalTime": 28
},
"resolveId": {
"invokeCount": 0,
"totalTime": 0
},
"name": "vize:post-transform",
"enforce": "post"
}
]Nested routes are now working properly. However, some styles of component are missing:
Also, widgets are still not working. |
Beta Was this translation helpful? Give feedback.
-
|
Just tried v0.65.0:
After transformation by vize, vite (lightningcss) emitted some errors which doesn't appear with normal vite vue plugin: long logTime directly reported from vize plugin is [
{
"transform": {
"invokeCount": 2520,
"totalTime": 125
},
"resolveId": {
"invokeCount": 5106,
"totalTime": 311003
},
"name": "vite-plugin-vize",
"enforce": "pre"
},
{
"transform": {
"invokeCount": 1485,
"totalTime": 22
},
"resolveId": {
"invokeCount": 0,
"totalTime": 0
},
"name": "vize:post-transform",
"enforce": "post"
}
]
|
Beta Was this translation helpful? Give feedback.
-
|
Tried v0.75.0 and this has introduced some regression: Some slots (left, tabs) on page header (MkPageHeader) is not working
The correct UI should look like this:
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
I've shipped some fixes at https://github.com/ubugeeei/vize/releases/v0.117.0 |
Beta Was this translation helpful? Give feedback.
-
|
Just tried v0.118.0 and still failing parsing some tricky use of CSS
|
Beta Was this translation helpful? Give feedback.
-
|
Just tried v0.124.0 and it fixed most of the design issues! However we still have tricky case around v-bind css: This component has This component also have Maybe there is some conflicts applying styles. |
Beta Was this translation helpful? Give feedback.
-
|
🎉 |
Beta Was this translation helpful? Give feedback.
-
|
|
Beta Was this translation helpful? Give feedback.
-
|
progress |
Beta Was this translation helpful? Give feedback.
-
|
Just tried vize 0.155.0 and the things improved dramatically 🎉
|
Beta Was this translation helpful? Give feedback.
-
|
Tried v0.174.0 - most of features are now working with some edge cases left!
|
Beta Was this translation helpful? Give feedback.
-
|
Latest metrics: [
{
"transform": {
"invokeCount": 2579,
"totalTime": 58
},
"resolveId": {
"invokeCount": 0,
"totalTime": 0
},
"name": "vize:post-transform",
"enforce": "post"
},
{
"transform": {
"invokeCount": 2579,
"totalTime": 88
},
"resolveId": {
"invokeCount": 0,
"totalTime": 0
},
"name": "vize:style-post-transform"
},
{
"transform": {
"invokeCount": 3633,
"totalTime": 507
},
"resolveId": {
"invokeCount": 5348,
"totalTime": 927413
},
"name": "vite-plugin-vize",
"enforce": "pre"
},
]Comparison - [
{
"transform": {
"invokeCount": 2653,
"totalTime": 3355
},
"resolveId": {
"invokeCount": 0,
"totalTime": 0
},
"name": "vite:vue"
},
] |
Beta Was this translation helpful? Give feedback.














Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I tried out building frontend of Misskey using Vize and Vite 8 beta, and build failed.
Although Misskey is doing some unusual modification before and after the process, but the frontend app successfully built with
@vitejs/plugin-vuehttps://github.com/kakkokari-gtyih/misskey/tree/experimental-vite8-vize
Logs
Any comments or suggestions are appreciated! Thank you for making such an anbitious tool chain!
Beta Was this translation helpful? Give feedback.
All reactions