File-loader mendukung file JSON
{
type: 'javascript/auto',
test: /\.json$/,
use: [ 'file-loader' ],
include: /\.\/config/ // for e.g, but better to only copy particular JSON files (not all)
}
Restu Wahyu Saputra