-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
web: Use go:embed rather than turning everything into Go source code
This removes a 5MB go file, which is nice. I decided to add the Git folder to remove the dependency on javascript for CI / other contributors. The dist folder is large, but separate files are slightly better than one huge one because they might not all change and be huge blobs in Git. I excluded the .js.map file which isn't needed for release builds. It would get built into development binaries, which is actually nice.
- Loading branch information
Showing
11 changed files
with
108 additions
and
127 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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
dist | ||
*.js.map | ||
node_modules |
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><link rel="icon" href="/favicon.ico"><title>rufs-web</title><link href="/css/app.8ac45746.css" rel="preload" as="style"><link href="/css/chunk-vendors.25ab3afa.css" rel="preload" as="style"><link href="/js/app.1e8bf834.js" rel="preload" as="script"><link href="/js/chunk-vendors.2113b97c.js" rel="preload" as="script"><link href="/css/chunk-vendors.25ab3afa.css" rel="stylesheet"><link href="/css/app.8ac45746.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but rufs-web doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.2113b97c.js"></script><script src="/js/app.1e8bf834.js"></script></body></html> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.