increpare / PuzzleScript

Open Source HTML5 Puzzle Game Engine
MIT License
903 stars 159 forks source link

tidy up standalone generation pipeline #841

Closed increpare closed 2 years ago

increpare commented 2 years ago

I found out that part of the standalone generation process (#780) was adding spaces to the ends of lines, so try to move to a better process (and maybe try better optimising/minifying standalone_inlined.txt file to make it smaller

increpare commented 2 years ago

together with https://github.com/increpare/PuzzleScript/commit/8645061ef7d020d301322abb54de5b170ae7b43f and https://github.com/increpare/PuzzleScript/commit/8cbffb0b82991d34fdc1574ca0ecdf1a262cbc2f, this task is done.

Standalone file export size of example project reduced from 368kb->212kb .