News for hackers. Stuff that matters.
Re:The cost of parsing JSON by nostrademons on Wednesday September 18, 2019 @01:12PM (#21007525)
WebPack, properly configured, will let you import plain old .json files through the normal es6 import mechanism. It doesn't use this technique though: the JSON file is treated as normal JS source (preprocessed to remove unnecessary quotes etc.) and wrapped with an export.

There are no comments on this comment yet.