isAmbientAsset = (m) =>
          m.type === 'asset/resource' &&
          'resource' in m &&
          'loaders' in m &&
          Array.isArray(m.loaders) &&
          m.loaders.length === 0
Identifies an asset that webpack includes in dist by default without
setting any loaders explicitly.

@param {import('webpack').Module} m
@returns {m is import('webpack').NormalModule}