Skip to content

Commit 186a878

Browse files
authored
fix: domino magnification + cli v0.0.11 (#159)
1 parent 0512461 commit 186a878

File tree

6 files changed

+20
-2
lines changed

6 files changed

+20
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@builder.io/qwik",
3-
"version": "0.0.16-6",
3+
"version": "0.0.16-7",
44
"description": "An Open-Source sub-framework designed with a focus on server-side-rendering, lazy-loading, and styling/animation.",
55
"scripts": {
66
"build": "node scripts --tsc --build --api --platform-binding --wasm",

scripts/submodule-core.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ async function submoduleCoreProd(config: BuildConfig) {
8181
ecma: 2018,
8282
passes: 2,
8383
},
84+
keep_fnames: true,
85+
keep_classnames: true,
8486
format: {
8587
comments: false,
8688
preamble: banner.js,

scripts/submodule-optimizer.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ export async function submoduleOptimizer(config: BuildConfig) {
9898
beautify: true,
9999
indent_level: 2,
100100
},
101+
keep_fnames: true,
102+
keep_classnames: true,
101103
mangle: false,
102104
});
103105
await writeFile(p, result.code!);

scripts/submodule-prefetch.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ export async function submodulePrefetch(config: BuildConfig) {
4141
plugins: minifyCode
4242
? [
4343
terser({
44+
keep_fnames: true,
45+
keep_classnames: true,
4446
compress: {
4547
module: true,
4648
keep_fargs: false,
@@ -95,6 +97,8 @@ export async function submodulePrefetch(config: BuildConfig) {
9597
exports: 'none',
9698
plugins: [
9799
terser({
100+
keep_fnames: true,
101+
keep_classnames: true,
98102
compress: {
99103
module: true,
100104
keep_fargs: false,
@@ -121,6 +125,8 @@ export async function submodulePrefetch(config: BuildConfig) {
121125
exports: 'none',
122126
plugins: [
123127
terser({
128+
keep_fnames: true,
129+
keep_classnames: true,
124130
compress: {
125131
inline: false,
126132
join_vars: false,

scripts/submodule-qwikloader.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ export async function submoduleQwikLoader(config: BuildConfig) {
4444
outro: `})()`,
4545
plugins: [
4646
terser({
47+
keep_fnames: true,
48+
keep_classnames: true,
4749
compress: {
4850
global_defs: {
4951
'window.BuildEvents': false,
@@ -69,6 +71,8 @@ export async function submoduleQwikLoader(config: BuildConfig) {
6971
outro: `})()`,
7072
plugins: [
7173
terser({
74+
keep_fnames: true,
75+
keep_classnames: true,
7276
compress: {
7377
global_defs: {
7478
'window.BuildEvents': false,
@@ -98,6 +102,8 @@ export async function submoduleQwikLoader(config: BuildConfig) {
98102
outro: `})()`,
99103
plugins: [
100104
terser({
105+
keep_fnames: true,
106+
keep_classnames: true,
101107
compress: {
102108
global_defs: {
103109
'window.BuildEvents': true,
@@ -123,6 +129,8 @@ export async function submoduleQwikLoader(config: BuildConfig) {
123129
outro: `})()`,
124130
plugins: [
125131
terser({
132+
keep_fnames: true,
133+
keep_classnames: true,
126134
compress: {
127135
global_defs: {
128136
'window.BuildEvents': true,

src/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-qwik",
3-
"version": "0.0.10",
3+
"version": "0.0.11",
44
"description": "Interactive CLI and API for generating Qwik projects.",
55
"bin": {
66
"create-qwik": "create-qwik"

0 commit comments

Comments
 (0)