message: cli: use same extension for chunks as for the main built file
diff: @@ -62,7 +62,7 @@ export const makeConfigs = async (
  output.push({
  dir: 'dist',
  entryFileNames: 'index.cjs.js',
  - chunkFileNames: 'cjs/[name]-[hash].js',
  + chunkFileNames: 'cjs/[name]-[hash].cjs.js',
  format: 'commonjs',
  sourcemap: true,
  });
  @@ -71,7 +71,7 @@ export const makeConfigs = async (
  output.push({
  dir: 'dist',
  entryFileNames: 'index.esm.js',
  - chunkFileNames: 'esm/[name]-[hash].js',
  + chunkFileNames: 'esm/[name]-[hash].esm.js',
  format: 'module',
  sourcemap: true,
  });
  