fuhrmanator / GIFT-grammar-PEG.js

Development of PEG grammar to support GIFT (quiz) format
MIT License
36 stars 16 forks source link

minified files are broken in 1.0.0 (npm release) #70

Open fuhrmanator opened 4 days ago

fuhrmanator commented 4 days ago

Symptom:

node_modules\gift-pegjs\pegjs-gift.js:1:6567: ERROR: Expected ")" but found "t"

Minify has a bug that caused the 1.0.0 release to be broken (the minified file has unbalanced apostrophes). See https://github.com/coderaiser/minify/issues/127.

fuhrmanator commented 4 days ago

Even reverting to an older minify where it supports apostrophes in strings causes the minified parser to fail with the latest grammar.

I will take minify out of the build loop because it's not worth the problems. If developers want to minify it's up to them to find a reliable tool.