Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
lxsmnsyc committed Jan 25, 2024
1 parent 5d75d04 commit 83bcdd5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ export default [
{
file: 'dist/solid-refresh.cjs',
format: 'cjs',
sourcemap: true,
},
{
file: 'dist/solid-refresh.mjs',
format: 'es',
sourcemap: true,
},
],
external: ['solid-js'],
Expand All @@ -23,10 +25,12 @@ export default [
{
file: './dist/babel.cjs',
format: 'cjs',
sourcemap: true,
},
{
file: './dist/babel.mjs',
format: 'es',
sourcemap: true,
},
],
external: [
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"esModuleInterop": true,
"target": "ES2017",
"declaration": true,
"outDir": "types",
"declarationDir": "./",
"useDefineForClassFields": false,
"declarationMap": true
}
Expand Down

0 comments on commit 83bcdd5

Please sign in to comment.