Skip to content

Commit cf6ad68

Browse files
author
Stuart Reilly
committed
Switch to mainly ts, begin reducing script entry points, enable more aggresive minification
1 parent 7de47f1 commit cf6ad68

15 files changed

+219
-11342
lines changed

_config.yml

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -54,27 +54,25 @@ pagination:
5454
after: 2
5555
excerpt_separator:
5656
exclude:
57+
- ".prettierrc.json5"
58+
- ".spelling"
5759
- CNAME
5860
- Gemfile
5961
- Gemfile.lock
60-
- lintPosts.js
61-
- scss
62-
- node_modules
63-
- package.json
62+
- PULL_REQUEST_TEMPLATE
6463
- README.md
65-
- ".spelling"
66-
- scripts/jquery-1.9.1.js
67-
- scripts/jquery.jscroll-2.2.4.js
68-
- scripts/tweet.js
69-
- scripts/search.js
70-
- vendor
7164
- gems
7265
- generate_pa11y_ci_urls_from_git_diff.sh
66+
- lintPosts.js
67+
- node_modules
7368
- package-lock.json
74-
- PULL_REQUEST_TEMPLATE
75-
- send-blogs-to-deploy-endpoint.js
69+
- package.json
7670
- rspack.config.ts
77-
- ".prettierrc.json5"
71+
- scripts
72+
- scss
73+
- send-blogs-to-deploy-endpoint.js
74+
- tsconfig.json
75+
- vendor
7876
keep_files:
7977
- "script.js"
8078
sass:

_layouts/default.html

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -156,14 +156,7 @@
156156

157157
<script
158158
src="{{- site.baseurl | remove_first: 'http:' -}}/script.js"
159-
type="text/javascript"
159+
type="module"
160160
></script>
161-
<script type="text/javascript">
162-
jQuery.noConflict();
163-
</script>
164-
<script>
165-
initialiseMenu();
166-
loadClapCount();
167-
</script>
168161
</body>
169162
</html>

0 commit comments

Comments
 (0)