diff --git a/rollup.config.js b/rollup.config.js index 4b5ca9f3..e8598d76 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -39,6 +39,8 @@ export default [{ extensions: ['js', '.jsx', '.tsx', '.ts'], }), terser(), - typescript(), + typescript({ + tsconfig: "./tsconfig.json" + }), ], }]; diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 00000000..10214212 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,8 @@ +{ + "compilerOptions": { + "allowSyntheticDefaultImports": true, + "jsx": "react", + "moduleResolution": "node", + "target": "es2020" + } +} \ No newline at end of file