andrewdavey / andrewdavey/cassette
@reference not finding assets
- 主要语言
- C#
- 星标
- 531
- 派生
- 139
- PR 合并指标
- 30 天内没有已合并 PR
描述
The `@reference` directive doesn't seem to be working. Here's my LESS files:
Content/Styles/main.less:
``` less
// @reference variables.less
body { color: red; }
```
Content/Styles/variables.less:
``` less
@link: #8cbf33;
@linkHover: darken(@link, 15%);
@conversationLink: #60a800;
@conversationHover: #608323;
```
I know in LESS you can use `@import` but there was a use case where I needed to `@reference` a normal CSS file due to vendor specific viewport styles that were causing the LESS compiler to complain (as well as having to reference the Bootstrap compiled CSS files). However, this `@reference` issue seems to affect any file type referenced.
In my Cassette configuration script I have the following:
``` csharp
bundles.Add("~/Bundles/styles", new []{
"~/Content/Styles/main.less"
});
```
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。