klap icon indicating copy to clipboard operation
klap copied to clipboard

No way to override the options that are set by "defaultOptions"

Open tunnckoCore opened this issue 5 years ago • 1 comments

From here https://github.com/osdevisnot/klap/blob/master/src/klap.js#L9.

Looking over the code, it seems that they are forced. And I don't like them that much. All of them should be true, especially freeze and esModule are great to be true.

tunnckoCore avatar Jan 16 '20 18:01 tunnckoCore

These options enable us to produce minimum possible compiled code. But I agree, there should be some way to override the defaults.

osdevisnot avatar Jan 17 '20 16:01 osdevisnot