From 614ba7847130080fd8b510cdf37ac2573b81df87 Mon Sep 17 00:00:00 2001 From: Damien Seguin Date: Sun, 24 Oct 2021 14:21:47 +0100 Subject: [PATCH] fix: use a script for version styles --- src/templates/_version.ejs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/templates/_version.ejs b/src/templates/_version.ejs index 870fc9c..a679a1a 100644 --- a/src/templates/_version.ejs +++ b/src/templates/_version.ejs @@ -9,7 +9,9 @@ <% if (data.NODE_ENV === 'development'){ %> - + }`; + document.head.appendChild(styleElement); + <% } %>