Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate project to vue-cli 3 #282

Closed
bugy opened this issue Mar 31, 2020 · 2 comments · Fixed by #295
Closed

Migrate project to vue-cli 3 #282

bugy opened this issue Mar 31, 2020 · 2 comments · Fixed by #295

Comments

@bugy
Copy link
Owner

bugy commented Mar 31, 2020

At the moment webpack + babel + karma + plugins are used for frontend building and unit testing.
Unfortunately, it causes a lot of headache in configuration (many people use different combinations and versions, so it is extremely hard to find working solution anywhere). Especially it causes problems for unit testing (making everything built and tested properly is not trivial).
Another problem is bundle size. At the moment, Script server has almost 1Mb for the index page (600Kb js, 200Kb css, and everything else).

To solve these problems and make frontend infrastructure more lightweight, it makes sense to migrate to vue-cli, which uses predefined set of tools and plugins

@bugy bugy added the feature label Mar 31, 2020
@bugy bugy added this to the 1.16.0 milestone Mar 31, 2020
bugy added a commit that referenced this issue Apr 4, 2020
bugy added a commit that referenced this issue Apr 8, 2020
bugy added a commit that referenced this issue Apr 16, 2020
bugy added a commit that referenced this issue Apr 16, 2020
bugy added a commit that referenced this issue Apr 16, 2020
@bugy bugy mentioned this issue Apr 23, 2020
@bugy bugy closed this as completed in #295 Apr 23, 2020
@bugy bugy added the resolved label Apr 23, 2020
@bugy
Copy link
Owner Author

bugy commented Apr 23, 2020

Done, now script server uses almost latest versions build frameworks and vue cli. It makes configuration easier and builds faster
Also, new vue-cli serve command works faster and cooler

And the main benefit during this migration: sources for index page were reduced from 1.5Mb to around 300Kb (gzipped)

@antonellocaroli I know, that you do some customizations of Script server UI and my changes are definitely breaking changes for you. Really sorry about it.
If you would need some help, feel free to contact me directly, I will be glad to help you
And now I owe you one feature: will take one issue from you with the highest priority :)

@antonellocaroli
Copy link

@bugy I'm glad you know my project...

now I'm gonna try the new script-server and let you know if I have any problems...

And now I owe you one feature: will take one issue from you with the highest priority :)

:) :)

antonellocaroli pushed a commit to antonellocaroli/script-server that referenced this issue Aug 1, 2020
antonellocaroli pushed a commit to antonellocaroli/script-server that referenced this issue Aug 1, 2020
antonellocaroli pushed a commit to antonellocaroli/script-server that referenced this issue Aug 1, 2020
antonellocaroli pushed a commit to antonellocaroli/script-server that referenced this issue Aug 1, 2020
antonellocaroli pushed a commit to antonellocaroli/script-server that referenced this issue Aug 1, 2020
antonellocaroli pushed a commit to antonellocaroli/script-server that referenced this issue Aug 1, 2020
antonellocaroli pushed a commit to antonellocaroli/script-server that referenced this issue Aug 1, 2020
antonellocaroli pushed a commit to antonellocaroli/script-server that referenced this issue Aug 1, 2020
antonellocaroli pushed a commit to antonellocaroli/script-server that referenced this issue Aug 1, 2020
antonellocaroli pushed a commit to antonellocaroli/script-server that referenced this issue Aug 1, 2020
antonellocaroli pushed a commit to antonellocaroli/script-server that referenced this issue Aug 1, 2020
antonellocaroli pushed a commit to antonellocaroli/script-server that referenced this issue Aug 1, 2020
antonellocaroli pushed a commit to antonellocaroli/script-server that referenced this issue Aug 1, 2020
antonellocaroli pushed a commit to antonellocaroli/script-server that referenced this issue Aug 1, 2020
antonellocaroli pushed a commit to antonellocaroli/script-server that referenced this issue Aug 1, 2020
antonellocaroli pushed a commit to antonellocaroli/script-server that referenced this issue Aug 1, 2020
antonellocaroli pushed a commit to antonellocaroli/script-server that referenced this issue Aug 1, 2020
antonellocaroli pushed a commit to antonellocaroli/script-server that referenced this issue Aug 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants