Skip to content

Commit a495bce

Browse files
Lms24mydea
authored andcommitted
move tsconfig.worker.json to root
1 parent 078fcec commit a495bce

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

packages/replay/.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module.exports = {
2525
files: ['worker/**/*.ts'],
2626
parserOptions: {
2727
// TODO: figure out if we need a worker-specific tsconfig
28-
project: ['config/tsconfig.worker.json'],
28+
project: ['tsconfig.worker.json'],
2929
},
3030
},
3131
{

packages/replay/config/rollup.config.worker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const config = defineConfig({
1212
format: 'esm',
1313
},
1414
plugins: [
15-
typescript({ tsconfig: './config/tsconfig.worker.json' }),
15+
typescript({ tsconfig: './tsconfig.worker.json' }),
1616
resolve(),
1717
terser({
1818
mangle: {

packages/replay/config/tsconfig.worker.json renamed to packages/replay/tsconfig.worker.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
"target": "es5",
1111
"declaration": false,
1212
"lib": ["webworker", "scripthost"],
13-
"baseUrl": "../worker/src",
14-
"rootDir": "../worker/src",
15-
"outDir": "../src/worker"
13+
"baseUrl": "worker/src",
14+
"rootDir": "worker/src",
15+
"outDir": "src/worker"
1616
},
17-
"include": ["../worker/src/worker.ts", "../src/types.ts"],
17+
"include": ["worker/src/worker.ts", "src/types.ts"],
1818
"exclude": ["node_modules"]
1919
}

0 commit comments

Comments
 (0)