v1.13.0
Version: 1.13.0
Published: 12/18/2022
Change Set: 0ff7371
- In BundleTransformer.ConfigurationIntelliSense updated definitions for configuration settings of Sass and SCSS translator
- In BundleTransformer.SassAndScss:
- Now the Dart Sass Host library (requires installation and registration of the JS engine) is used instead of the LibSass Host
- In configuration settings of Sass and SCSS translator was added one new property -
JsEngine
- From configuration settings of Sass and SCSS translator was removed two properties:
Precision
andSourceComments
- In configuration settings of Sass and SCSS translator was added one new property -
Severity
(default0
) VirtualFileManager
class was made public- Conversion of the application-relative paths (starts with
~/
) to an absolute virtual paths is no longer supported in theurl()
functions if its value contains an interpolation and unquoted (for example,url(#{$icons-path}/computer.png)
). For normal working, such values should be quoted (for example,url("#{$icons-path}/computer.png")
orurl('#{$icons-path}/computer.png')
).
Steps required to update the BundleTransformer.SassAndScss module to version 1.13.X:
- Update the BundleTransformer.SassAndScss package to latest version.
- Uninstall the LibSassHost and LibSassHost.Native.* packages if necessary.
- Remove the
precision
andsourceComments
attributes from the/configuration/bundleTransformer/sassAndScss
configuration element in theWeb.config
file. - Install one of the following packages: JavaScriptEngineSwitcher.Msie (only in the Chakra “Edge” JsRT mode), JavaScriptEngineSwitcher.ChakraCore or JavaScriptEngineSwitcher.V8.
- Register a JS engine.
- Set a name of JS engine (for example,
MsieJsEngine
) to thename
attribute of/configuration/bundleTransformer/sassAndScss/jsEngine
configuration element in theWeb.config
file. - In Sass and SCSS code convert a unquoted values with interpolation in the
url()
functions (for example,url(#{$icons-path}/computer.png)
) to quoted values (for example,url("#{$icons-path}/computer.png")
orurl('#{$icons-path}/computer.png')
).
NuGet Packages
Core
Translators
- Bundle Transformer: Sass and SCSS contains adapter for the Dart Sass version 1.56.1