Skip to content

Commit

Permalink
fix: tsconfig and rollup
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelKreil committed Sep 24, 2024
1 parent d7fcd05 commit 2cc8568
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
6 changes: 1 addition & 5 deletions jest.config.ts → jest.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import type { JestConfigWithTsJest } from 'ts-jest';

const config: JestConfigWithTsJest = {
export default {
verbose: true,
testEnvironment: 'node',
transform: {
Expand All @@ -24,5 +22,3 @@ const config: JestConfigWithTsJest = {
'!jest*.ts',
]
}

export default config;
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default [
]
},
{
input: './release/versatiles-style/.tmp.d.ts/browser.d.ts',
input: './release/versatiles-style/browser.d.ts',
output: [{ file: './release/versatiles-style/versatiles-style.d.ts', format: 'es' }],
plugins: [dts()],
},
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.browser.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"module": "esnext",
"moduleResolution": "bundler",
"declaration": true,
"declarationDir": ".tmp.d.ts",
"declarationDir": "./release/versatiles-style/",
"noEmit": false,
"allowImportingTsExtensions": false,
},
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
"include": [
"scripts/**/*.ts",
"src/**/*.ts"
, "src/lib/types.ts.tmp" ]
]
}

0 comments on commit 2cc8568

Please sign in to comment.