Skip to content

Commit 33c8155

Browse files
committed
upd
1 parent 7932309 commit 33c8155

File tree

3 files changed

+4
-13
lines changed

3 files changed

+4
-13
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"test-umdbrowser": "npm run build-browser-umd && karma start karma.umd.conf.js --single-run",
7373
"test-karma-local": "karma start karma.local_chrome.bs.conf.js && npm run build-browser-umd && karma start karma.local_chrome.umd.conf.js",
7474
"prebuild": "npm run clean",
75-
"compile": "tsc -p tsconfig.build.json",
75+
"compile": "tsc",
7676
"build": "npm run validate-platform-isolation && npm run genmsg && npm run compile && rollup -c rollup.config.mjs && cp dist/index.browser.d.ts dist/index.d.ts",
7777
"build:win": "tsc --noEmit && npm run genmsg && npm run compile && rollup -c rollup.config.mjs && type nul > dist/optimizely.lite.es.d.ts && type nul > dist/optimizely.lite.es.min.d.ts && type nul > dist/optimizely.lite.min.d.ts",
7878
"build-browser-umd": "npm run compile && rollup -c rollup.config.mjs --config-umd",

tsconfig.build.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,15 @@
2727
},
2828
"resolveJsonModule": true,
2929
"allowJs": true,
30-
"outDir": "./dist",
30+
"outDir": "./.build",
31+
"declarationDir": "./dist",
3132
"sourceMap": true,
3233
"skipLibCheck": true,
3334
"useUnknownInCatchVariables": false
3435
},
3536
"exclude": [
3637
"./dist",
38+
"./.build",
3739
"./lib/**/*.tests.js",
3840
"./lib/**/*.tests.ts",
3941
"./lib/**/*.spec.ts",

0 commit comments

Comments
 (0)