@timber-js/app 0.2.0-alpha.64 → 0.2.0-alpha.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/plugins/dev-browser-logs.d.ts.map +1 -1
- package/dist/shims/font-google.js +42 -0
- package/dist/shims/font-google.js.map +1 -0
- package/dist/shims/font-local.js +20 -0
- package/dist/shims/font-local.js.map +1 -0
- package/package.json +1 -1
- package/src/plugins/dev-browser-logs.ts +5 -1
package/dist/index.js
CHANGED
|
@@ -14610,7 +14610,10 @@ function timberDevBrowserLogs(ctx) {
|
|
|
14610
14610
|
apply: "serve",
|
|
14611
14611
|
configureServer(server) {
|
|
14612
14612
|
const threshold = ctx.config.devBrowserLogs ?? "warn";
|
|
14613
|
-
if (threshold === "none")
|
|
14613
|
+
if (threshold === "none") {
|
|
14614
|
+
delete globalThis.__timber_dev_browser_log_script;
|
|
14615
|
+
return;
|
|
14616
|
+
}
|
|
14614
14617
|
const script = generateClientScript(threshold);
|
|
14615
14618
|
if (script) globalThis.__timber_dev_browser_log_script = `<script type="module">${script}<\/script>`;
|
|
14616
14619
|
server.hot.on(HMR_EVENT, (payload) => {
|