Skip to content

Commit 98e06ef

Browse files
author
Loïc Mangeonjean
committed
fix: wrong types output location
1 parent 8479adb commit 98e06ef

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"description": "Configured monaco-vscode-api with tools and extensions",
66
"scripts": {
77
"build": "npm run lint && npm run compile && npm run generate-types && npm test",
8-
"compile": "node --experimental-json-modules ./node_modules/.bin/rollup --config rollup.config.ts --configPlugin typescript",
8+
"compile": "rollup --config rollup.config.ts --configPlugin 'typescript={tsconfig: `tsconfig.rollup-config.json`}'",
99
"generate-types": "tsc --project tsconfig.types.json",
1010
"update-extensions": "tsx scripts/update-extensions.ts",
1111
"download-extensions": "./scripts/download-extensions.sh",

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"extends": "@codingame/tsconfig",
33
"compilerOptions": {
4-
"rootDir": ".",
4+
"rootDir": "./src",
55
"moduleResolution": "bundler",
66
"outDir": "dist",
77
"noImplicitOverride": true,

tsconfig.rollup-config.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "./tsconfig",
3+
"compilerOptions": {
4+
"rootDir": "./"
5+
}
6+
}

0 commit comments

Comments
 (0)