Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ImportedFile

Structure that CSS Blocks uses to represent a single file.

Hierarchy

  • ImportedFile

Index

Properties

contents

contents: string

The contents of the imported file.

defaultName

defaultName: string

The default name for the block based on its identifier. This is used when a block doesn't specify a name for itself.

identifier

identifier: FileIdentifier

A unique identifier (probably an absolute filesystem path) that describes the block and can be used for caching.

syntax

syntax: Syntax

The syntax of the source contents. This could be determined by filename extension or some other metadata.

Generated using TypeDoc