Move TypeScript browser build to dist/browser

Use dist/browser as the output of the browser oriented TypeScript build
of packages instead of dist/web/build.  This distinguishes it better
from the Web UI bundle which is put together with webpack.
This commit is contained in:
Hornwitser committed 2024-02-07 18:35:05 +01:00
1 parent 8e5d581b9b
commit 152eb7d454
18 files changed
+18 -18

No files matched your search

+1 -1
View File
@@ -1,2 +1,2 @@
webpack.config.js webpack.config.js
dist/web/build dist/browser
+1 -1
View File
@@ -7,6 +7,6 @@
"include": [ "web/**/*.tsx", "web/**/*.ts", "package.json" ], "include": [ "web/**/*.tsx", "web/**/*.ts", "package.json" ],
"compilerOptions": { "compilerOptions": {
"rootDir": "..", "rootDir": "..",
"outDir": "dist/web/build", "outDir": "dist/browser",
} }
} }
+1 -1
View File
@@ -1 +1 @@
dist/web/build dist/browser
+1 -1
View File
@@ -25,6 +25,6 @@
], ],
"compilerOptions": { "compilerOptions": {
"rootDir": ".", "rootDir": ".",
"outDir": "dist/web/build", "outDir": "dist/browser",
} }
} }
+1 -1
View File
@@ -5,7 +5,7 @@
"license": "MIT", "license": "MIT",
"version": "2.0.0-alpha.16", "version": "2.0.0-alpha.16",
"browser": "src/index.ts", "browser": "src/index.ts",
"main": "dist/src/index.js", "main": "dist/browser/src/index.js",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
+1 -1
View File
@@ -5,6 +5,6 @@
], ],
"include": [ "src/**/*.tsx", "src/**/*.ts", "package.json", "global.d.ts" ], "include": [ "src/**/*.tsx", "src/**/*.ts", "package.json", "global.d.ts" ],
"compilerOptions": { "compilerOptions": {
"outDir": "dist", "outDir": "dist/browser",
} }
} }
+1 -1
View File
@@ -1,2 +1,2 @@
webpack.config.js webpack.config.js
dist/web/build dist/browser
+1 -1
View File
@@ -6,6 +6,6 @@
], ],
"include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "package.json" ], "include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "package.json" ],
"compilerOptions": { "compilerOptions": {
"outDir": "dist/web/build", "outDir": "dist/browser",
} }
} }
+1 -1
View File
@@ -1,2 +1,2 @@
webpack.config.js webpack.config.js
dist/web/build dist/browser
+1 -1
View File
@@ -6,6 +6,6 @@
], ],
"include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "package.json" ], "include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "package.json" ],
"compilerOptions": { "compilerOptions": {
"outDir": "dist/web/build", "outDir": "dist/browser",
} }
} }
+1 -1
View File
@@ -1,2 +1,2 @@
webpack.config.js webpack.config.js
dist/web/build dist/browser
+1 -1
View File
@@ -6,6 +6,6 @@
], ],
"include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "package.json" ], "include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "package.json" ],
"compilerOptions": { "compilerOptions": {
"outDir": "dist/web/build", "outDir": "dist/browser",
} }
} }
+1 -1
View File
@@ -1,2 +1,2 @@
webpack.config.js webpack.config.js
dist/web/build dist/browser
+1 -1
View File
@@ -6,6 +6,6 @@
], ],
"include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "package.json" ], "include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "package.json" ],
"compilerOptions": { "compilerOptions": {
"outDir": "dist/web/build", "outDir": "dist/browser",
} }
} }
+1 -1
View File
@@ -1,2 +1,2 @@
webpack.config.js webpack.config.js
dist/web/build dist/browser
@@ -6,6 +6,6 @@
], ],
"include": [ "web/**/*.tsx", "web/**/*.ts", "package.json" ], "include": [ "web/**/*.tsx", "web/**/*.ts", "package.json" ],
"compilerOptions": { "compilerOptions": {
"outDir": "dist/web/build", "outDir": "dist/browser",
} }
} }
+1 -1
View File
@@ -1,2 +1,2 @@
webpack.config.js webpack.config.js
dist/web/build dist/browser
@@ -6,6 +6,6 @@
], ],
"include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "package.json" ], "include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "package.json" ],
"compilerOptions": { "compilerOptions": {
"outDir": "dist/web/build", "outDir": "dist/browser",
} }
} }