Skip to content

Commit

Permalink
fix: domino magnification + cli v0.0.11 (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
manucorporat authored Jan 29, 2022
1 parent 0512461 commit 186a878
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@builder.io/qwik",
"version": "0.0.16-6",
"version": "0.0.16-7",
"description": "An Open-Source sub-framework designed with a focus on server-side-rendering, lazy-loading, and styling/animation.",
"scripts": {
"build": "node scripts --tsc --build --api --platform-binding --wasm",
Expand Down
2 changes: 2 additions & 0 deletions scripts/submodule-core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ async function submoduleCoreProd(config: BuildConfig) {
ecma: 2018,
passes: 2,
},
keep_fnames: true,
keep_classnames: true,
format: {
comments: false,
preamble: banner.js,
Expand Down
2 changes: 2 additions & 0 deletions scripts/submodule-optimizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ export async function submoduleOptimizer(config: BuildConfig) {
beautify: true,
indent_level: 2,
},
keep_fnames: true,
keep_classnames: true,
mangle: false,
});
await writeFile(p, result.code!);
Expand Down
6 changes: 6 additions & 0 deletions scripts/submodule-prefetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ export async function submodulePrefetch(config: BuildConfig) {
plugins: minifyCode
? [
terser({
keep_fnames: true,
keep_classnames: true,
compress: {
module: true,
keep_fargs: false,
Expand Down Expand Up @@ -95,6 +97,8 @@ export async function submodulePrefetch(config: BuildConfig) {
exports: 'none',
plugins: [
terser({
keep_fnames: true,
keep_classnames: true,
compress: {
module: true,
keep_fargs: false,
Expand All @@ -121,6 +125,8 @@ export async function submodulePrefetch(config: BuildConfig) {
exports: 'none',
plugins: [
terser({
keep_fnames: true,
keep_classnames: true,
compress: {
inline: false,
join_vars: false,
Expand Down
8 changes: 8 additions & 0 deletions scripts/submodule-qwikloader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ export async function submoduleQwikLoader(config: BuildConfig) {
outro: `})()`,
plugins: [
terser({
keep_fnames: true,
keep_classnames: true,
compress: {
global_defs: {
'window.BuildEvents': false,
Expand All @@ -69,6 +71,8 @@ export async function submoduleQwikLoader(config: BuildConfig) {
outro: `})()`,
plugins: [
terser({
keep_fnames: true,
keep_classnames: true,
compress: {
global_defs: {
'window.BuildEvents': false,
Expand Down Expand Up @@ -98,6 +102,8 @@ export async function submoduleQwikLoader(config: BuildConfig) {
outro: `})()`,
plugins: [
terser({
keep_fnames: true,
keep_classnames: true,
compress: {
global_defs: {
'window.BuildEvents': true,
Expand All @@ -123,6 +129,8 @@ export async function submoduleQwikLoader(config: BuildConfig) {
outro: `})()`,
plugins: [
terser({
keep_fnames: true,
keep_classnames: true,
compress: {
global_defs: {
'window.BuildEvents': true,
Expand Down
2 changes: 1 addition & 1 deletion src/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-qwik",
"version": "0.0.10",
"version": "0.0.11",
"description": "Interactive CLI and API for generating Qwik projects.",
"bin": {
"create-qwik": "create-qwik"
Expand Down

0 comments on commit 186a878

Please sign in to comment.