jscss-reference-version-auto-prefixer
1.1.0
dotnet add package jscss-reference-version-auto-prefixer --version 1.1.0
NuGet\Install-Package jscss-reference-version-auto-prefixer -Version 1.1.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="jscss-reference-version-auto-prefixer" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add jscss-reference-version-auto-prefixer --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: jscss-reference-version-auto-prefixer, 1.1.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install jscss-reference-version-auto-prefixer as a Cake Addin #addin nuget:?package=jscss-reference-version-auto-prefixer&version=1.1.0 // Install jscss-reference-version-auto-prefixer as a Cake Tool #tool nuget:?package=jscss-reference-version-auto-prefixer&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
jscss-reference-version-auto-prefixer
This library enables auto prefixing all script/link tags for javascript/css file references like:
<link rel="stylesheet" href="/assets/css/main.css"/>
<script src="/assets/glightbox.min.js"></script>
converts these references to:
<link rel="stylesheet" href="/assets/css/main.css?v=2019-11-11-00-57-06" />
<script src="/assets/glightbox.min.js?v=2019-11-11-00-57-06"></script>
#Usage Firstly, add following line to _ViewImports.cshtml
@addTagHelper *, JsCssReferenceVersionAutoPrefixer
On your Startup.cs file;
services.AddJsCssVersionAutoPrefixer()
or specifying a versioning function, which is goind to be executed for every reference so keep it cheap in terms of performance 😃
services.AddJsCssVersionAutoPrefixer(() => Guid.NewGuid().ToString())
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.2 is compatible. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 2.2
- Microsoft.AspNetCore.Mvc.Razor (>= 2.2.0)
- Microsoft.AspNetCore.Razor.Runtime (>= 2.2.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 3.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.1.0 | 654 | 11/14/2019 |