Add src/js/main/random.ts

This commit is contained in:
0x1eef 2024-03-16 05:18:03 -03:00
parent 60c8b9799b
commit 047eac5b75
3 changed files with 3 additions and 3 deletions

View file

@ -14,7 +14,7 @@ locales.each do |locale|
end
end
compile "/js/pages/Random.ts" do
compile "/js/main/random.ts" do
filter(:webpack)
write("/js/random.js")
write("/js/main/random.js")
end

View file

@ -6,6 +6,6 @@
</head>
<body>
<%= inline_json("/json/slugs.json") %>
<script src="/js/random.js"></script>
<script src="/js/main/random.js"></script>
</body>
</html>