From 3424ce1ffe56cef6540b518cb8188a33a15bc412 Mon Sep 17 00:00:00 2001 From: Arthur Denner Date: Wed, 25 Mar 2020 18:39:21 +0100 Subject: [PATCH] build: remove custom config for rpts2 --- tsdx.config.js | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/tsdx.config.js b/tsdx.config.js index 93ad61d2..3aa786b3 100644 --- a/tsdx.config.js +++ b/tsdx.config.js @@ -1,4 +1,3 @@ -const rpts2 = require('rollup-plugin-typescript2'); const copy = require('rollup-plugin-copy'); const postcss = require('rollup-plugin-postcss'); const autoprefixer = require('autoprefixer'); @@ -6,30 +5,6 @@ const cssnano = require('cssnano'); module.exports = { rollup(config, options) { - config.plugins = config.plugins.map(plugin => { - if (plugin && plugin.name === 'rpt2') { - return rpts2({ - clean: true, - objectHashIgnoreUnknownHack: true, - tsconfig: options.tsconfig, - tsconfigDefaults: { - compilerOptions: { - sourceMap: true, - declaration: true, - jsx: 'react', - }, - }, - tsconfigOverride: { - compilerOptions: { - target: 'esnext', - }, - }, - }); - } - - return plugin; - }); - config.plugins.push( postcss({ plugins: [