json-loader icon indicating copy to clipboard operation
json-loader copied to clipboard

refactor: use `jsesc` to escape special characters

Open bmeurer opened this issue 8 years ago • 0 comments

Similar to https://github.com/webpack-contrib/raw-loader/pull/36 we can use jsesc here to deal with special characters in general.

bmeurer avatar Sep 28 '17 13:09 bmeurer