Skip to content

Commit

Permalink
Merge pull request #42 from SmartGecko44/update-webpack
Browse files Browse the repository at this point in the history
I sure hope this works
  • Loading branch information
SmartGecko44 authored May 5, 2024
2 parents 2f09b34 + bc571ca commit adc7eec
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
6 changes: 2 additions & 4 deletions gxcko.me/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,11 @@
<link href="styles/popups.css" rel="stylesheet"> <!-- Link to external CSS file -->
<link href="styles/text.css" rel="stylesheet"> <!-- Link to external CSS file -->
<link href="favicon.ico" rel="icon" type="image/x-icon"> <!-- Link to favicon -->
<script src="../dist/bundle.js"></script> <!-- Link to external JavaScript file -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-MJD6FZJPCB"></script>
<script src="../dist/bundle.js"></script>
<script>
window.sentryOnLoad();
</script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-MJD6FZJPCB"></script>
<script src="scripts/google%20analytics.js"></script>
<noscript>
<style>
#darkModeMenu {
Expand Down
2 changes: 1 addition & 1 deletion gxcko.me/redirect/genshin-util.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
></script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-MJD6FZJPCB"></script>
<script src="../scripts/google%20analytics.js"></script>
<script src="../dist/bundle.js"></script>
<script>
window.location.href = "https://www.google.com";
</script>
Expand Down
2 changes: 1 addition & 1 deletion gxcko.me/redirect/github-repo.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
></script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-MJD6FZJPCB"></script>
<script src="../scripts/google%20analytics.js"></script>
<script src="../dist/bundle.js"></script>
<script>
window.location.href = "https://github.com/SmartGecko44/SmartGecko44.github.io";
</script>
Expand Down
2 changes: 1 addition & 1 deletion gxcko.me/redirect/github.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
></script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-MJD6FZJPCB"></script>
<script src="../scripts/google%20analytics.js"></script>
<script src="../dist/bundle.js"></script>
<script>
window.location.href = "https://github.com/SmartGecko44";
</script>
Expand Down
2 changes: 1 addition & 1 deletion gxcko.me/redirect/twitter.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
></script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-MJD6FZJPCB"></script>
<script src="../scripts/google%20analytics.js"></script>
<script src="../dist/bundle.js"></script>
<script>
window.location.href = "https://twitter.com/SmartGecko44";
</script>
Expand Down
2 changes: 1 addition & 1 deletion gxcko.me/redirect/youtube.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
></script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-MJD6FZJPCB"></script>
<script src="../scripts/google%20analytics.js"></script>
<script src="../dist/bundle.js"></script>
<script>
window.location.href = "https://www.youtube.com/@SmartGecko44";
</script>
Expand Down
4 changes: 3 additions & 1 deletion gxcko.me/scripts/google analytics.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-MJD6FZJPCB');
gtag('config', 'G-MJD6FZJPCB');

console.log("Google Analytics loaded.");
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const path = require('path');

module.exports = {
// the entry point of your application
entry: './gxcko.me/scripts/sentry.js',
entry: ['./gxcko.me/scripts/sentry.js', "./gxcko.me/scripts/google analytics.js"],

output: {
filename: 'bundle.js', // the output filename
Expand Down

0 comments on commit adc7eec

Please sign in to comment.