Skip to content

Commit

Permalink
Added a missing dot.
Browse files Browse the repository at this point in the history
  • Loading branch information
sofietoft authored Oct 14, 2022
1 parent 54d2b3f commit 1b28ba3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Fundamentals/Design/Stylesheets-Javascript/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ BundlingOptions.NotOptimizedAndComposite // The files will not be minified but w
:::note
The Smidge TagHelper does not consider the value of `Umbraco:CMS:Hosting:Debug` set in your appsettings file.

If you do need to debug bundles you can inject `hostingSettings` and add the `debug` attribute as shown below
If you do need to debug bundles you can inject `hostingSettings` and add the `debug` attribute as shown below.
:::

```csharp
Expand All @@ -183,6 +183,7 @@ If you do need to debug bundles you can inject `hostingSettings` and add the `de
var debugMode = hostingSettings.Value.Debug;
}
```

```csharp
<script src="registered-js-bundle" debug="@debugMode"></script>
<link rel="stylesheet" href="registered-css-bundle" debug="@debugMode" />
Expand Down

0 comments on commit 1b28ba3

Please sign in to comment.