Skip to content

Commit c1eda22

Browse files
committed
turn off all minification
1 parent 6209a09 commit c1eda22

File tree

5 files changed

+7
-2
lines changed

5 files changed

+7
-2
lines changed

.changes/change-pr-349.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
---
22
"@simulacrum/auth0-simulator": patch
3+
"@simulacrum/github-api-simulator": patch
4+
"@simulacrum/foundation-simulator": patch
5+
"@simulacrum/server": patch
36
---
47

5-
Skip auth0 simulator asset minification. This was breaking some views.
8+
Skip simulator asset minification. Also remove usage of `String.raw`. This was breaking the `/login` view in the Auth0 simulator with the way `tsdown` was escaping the strings.

packages/auth0/tsdown.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ export default defineConfig({
99
sourcemap: true,
1010
},
1111
copy: ["src/views/public"],
12-
// Disable minification to avoid build-time escaping of closing script tags
1312
minify: false,
1413
// runs with @arethetypeswrong/core which checks types
1514
attw: false,

packages/foundation/tsdown.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export default defineConfig({
88
dts: {
99
sourcemap: true,
1010
},
11+
minify: false,
1112
// runs with @arethetypeswrong/core which checks types
1213
attw: false,
1314
publint: true,

packages/github-api/tsdown.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export default defineConfig({
1010
},
1111
// handles dirname
1212
shims: true,
13+
minify: false,
1314
// runs with @arethetypeswrong/core which checks types
1415
attw: false,
1516
publint: true,

packages/server/tsdown.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export default defineConfig({
88
dts: {
99
sourcemap: true,
1010
},
11+
minify: false,
1112
// runs with @arethetypeswrong/core which checks types
1213
attw: false,
1314
publint: true,

0 commit comments

Comments
 (0)