This repository has been archived by the owner on May 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add initial support for minifying in production (#19)
* Add initial support for minifying in production * Prettier * Don't minify when passed --no-minify Co-Authored-By: Jake Deichert <git@jakedeichert.com> * set module: true to terser for better minification * format * add minifed test results * add yarn.lock to .gitignore Co-authored-by: Jake Deichert <git@jakedeichert.com>
- Loading branch information
1 parent
ef15a8d
commit 1b1f856
Showing
8 changed files
with
188 additions
and
242 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,7 @@ lib | |
# node | ||
####################################### | ||
package-lock.json | ||
yarn.lock | ||
|
||
# Logs | ||
logs | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,31 @@ | ||
/* generated by Svelte v3.17.2 */ | ||
import { | ||
SvelteComponent, | ||
detach, | ||
element, | ||
init, | ||
insert, | ||
noop, | ||
safe_not_equal, | ||
SvelteComponent as e, | ||
detach as t, | ||
element as n, | ||
init as r, | ||
insert as o, | ||
noop as s, | ||
safe_not_equal as l, | ||
} from '/web_modules/svelte/internal.js'; | ||
|
||
function create_fragment(ctx) { | ||
let nav; | ||
function u(e) { | ||
let r; | ||
return { | ||
c() { | ||
nav = element('nav'); | ||
nav.innerHTML = `<a href="/">Home</a>`; | ||
(r = n('nav')), (r.innerHTML = '<a href="/">Home</a>'); | ||
}, | ||
|
||
m(target, anchor) { | ||
insert(target, nav, anchor); | ||
m(e, t) { | ||
o(e, r, t); | ||
}, | ||
|
||
p: noop, | ||
i: noop, | ||
o: noop, | ||
|
||
d(detaching) { | ||
if (detaching) detach(nav); | ||
p: s, | ||
i: s, | ||
o: s, | ||
d(e) { | ||
e && t(r); | ||
}, | ||
}; | ||
} | ||
|
||
class Component extends SvelteComponent { | ||
constructor(options) { | ||
super(); | ||
init(this, options, null, create_fragment, safe_not_equal, {}); | ||
export default class extends e { | ||
constructor(e) { | ||
super(), r(this, e, null, u, l, {}); | ||
} | ||
} | ||
|
||
export default Component; |
Oops, something went wrong.