Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent unused partials/analytics.html warning when not in production #465

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

julien-deramond
Copy link
Member

@julien-deramond julien-deramond commented Apr 23, 2024

Description

When running locally this project with npm run start, we can see the following warning that is a little bit disturbing:

WARN  Template partials/analytics.html is unused, source file /tmp/twbs/blog/src/layouts/partials/analytics.html

When not in production mode, the partial file is unused and generates the warning.

I'm aware that maybe we lose some readability with this version, so feel free to close this PR directly without any comments if you prefer to keep the previous version :)

Testing

@XhmikosR XhmikosR merged commit 08a408f into main Apr 24, 2024
8 checks passed
@XhmikosR XhmikosR deleted the main-jd-drop-analytics-warning branch April 24, 2024 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants