changed compile format fro cjs to es

This commit is contained in:
AT 2023-04-16 21:10:29 +02:00
parent 65cc743079
commit 069cc18cbf

View File

@ -7,8 +7,8 @@ export default {
input: 'src/index.tsx',
output: [
{
file: pkg.main,
format: 'cjs',
file: 'dist/index.js',
format: 'es',
exports: 'named',
sourcemap: true,
strict: false