Skip to content

Latest commit

 

History

History
49 lines (36 loc) · 482 Bytes

File metadata and controls

49 lines (36 loc) · 482 Bytes

Module import handler

Summary

Convert native @import to a single css file.


Syntax

@import <path_to_vcss_file>

Examples

Outside box

Vcss code:

/* module.vcss */
.bar {
    text-truncated: true 100px;
}
@import ./module.vcss

.foo {
  box: content;
}

Generated CSS code:

.bar {
  width: 100px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.foo {
  box-sizing: content-box;
}