README
A Webpack loader that strips comments from files (using strip-json-comments)
Usage
npm install @shopify/strip-json-comments-loader webpack --save-dev
rules.push({
test: /\/translations\/.*\.json$/,
use: '@shopify/strip-json-comments-loader',
type: 'javascript/auto',
});