I've found this file on Habitica, which uses an special webpack function called import, which is a reserved word on ES2015. This makes Hunter throw an error when loading the file. I know this is hard, but I think maybe we should support a more error-tolerant parsing. Anyway I think it's not bad to have this edge-case registered here.
I've found this file on Habitica, which uses an special webpack function called import, which is a reserved word on ES2015. This makes Hunter throw an error when loading the file. I know this is hard, but I think maybe we should support a more error-tolerant parsing. Anyway I think it's not bad to have this edge-case registered here.