Compilation - Forum

Forum Navigation
You need to log in to create posts and topics.

Compilation

I have a question about compiling an application.

For example, I produce a web application (pwa) for my videos.
When I compile the application, the process is a very long one because the compiler checks every time to make sure that the video data is available.

But, if I only modify the HTML structure is it sufficient to save only instead of compiling.

If not, is there any other way to speed up the compilation process?

Has more than 60 videos therefore, the compilation time becomes very long.

2 - Once compiled, what data should be sent to the web server (host)?
I know I don't have to send my videos every time, but I still wanted to know.
I know that the file "index.html" is very important. What else is there?

Thanks for the help!

Roger

Hi @rocote,

If you use absolute paths, your videos will be copied to the compilation folder each time you compile the project. It can take some time and it's not very efficient. To avoid that, just use relative paths instead and copy your video files manually, just once, to the destination folder, for example: "media".

Once compiled, what data should be sent to the web server (host)?

All the compilation folder. You can avoid to upload again the media or fonts folders.
In most cases, for updates, it's enough to upload index.html, main.js and style.css.
They contain your design, programming code and css styles respectively.
Let me know if you need further information.
Best regards.