message: refactor: simplify tsconfig override
diff: @@ -6,19 +6,18 @@ import bundleSize from 'rollup-plugin-bundle-size';
  import {terser} from 'rollup-plugin-terser';
  const pkg = require('./package.json');
  -const tsconfig = require('./tsconfig.json').compilerOptions;
  const plugins = (browserslist, declaration = false) => [
  resolve({extensions: ['.js', '.ts']}),
  commonjs(),
  json(),
  ts({
  - tsconfig: {
  - ...tsconfig,
  + tsconfig: (resolvedConfig) => ({
  + ...resolvedConfig,
  declaration,
  declarationMap: declaration,
  - },
  - browserslist: browserslist || 'defaults and not IE 11',
  + }),
  + browserslist,
  }),
  bundleSize(),
  ];
  