Global

Members

(constant) extender :Provider

Source:

The service provider that once registered on SvelteExtend will save the an instance of JSMerger as the jsMerger service.

Type:

(constant) jsMerger :Provider

Source:

The service provider that once registered on SvelteExtend will save the an instance of JSMerger as the jsMerger service.

Type:

(constant) sfcData :Provider

Source:

The service provider that once registered on SvelteExtend will save the class SFCData as the sfcData service.

Type:

(constant) sfcParser :Provider

Source:

The service provider that once registered on SvelteExtend will save the an instance of SFCParser as the sfcParser service.

Type:

Type Definitions

Provider

Source:
Properties:
Name Type Description
register ProviderRegisterMethod

The method that gets called when registering the provider.

Type:
  • Object

ProviderRegisterMethod(app)

Source:
Parameters:
Name Type Description
app Jimple

A reference to the dependency injection container.

RollupFilter(filepath) → {boolean}

Source:
Parameters:
Name Type Description
filepath string

The path to validate.

Returns:

Whether or not the path is valid.

Type
boolean

SFCTag

Source:
Properties:
Name Type Description
contents string

The content of the tag.

attributes Object

A dictionary of the tag attributes and their values.

Type:
  • Object

SvelteExtendRollupPluginOptions

Source:
Properties:
Name Type Attributes Default Description
allowedMaxDepth number <optional>
0

How many components level can be extended. For example, if a file extends from one that extends from another and this is set to 1, the parsing will fail.

include Array <optional>
[]

A list of expressions the name of a file should match in order to be processed by the plugin.

exclude Array <optional>
[]

A list of expressions the name of a file shouldn't match in order to be processed by the plugin.

Type:
  • Object