@fluffjs/cli 0.0.8 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BabelHelpers.d.ts +26 -0
- package/BabelHelpers.js +65 -0
- package/Cli.d.ts +7 -10
- package/Cli.js +139 -52
- package/CodeGenerator.d.ts +53 -39
- package/CodeGenerator.js +330 -725
- package/ComponentCompiler.d.ts +14 -16
- package/ComponentCompiler.js +193 -257
- package/DomPreProcessor.d.ts +36 -0
- package/DomPreProcessor.js +645 -0
- package/ErrorHelpers.d.ts +5 -0
- package/ErrorHelpers.js +8 -0
- package/ExpressionTransformer.d.ts +38 -28
- package/ExpressionTransformer.js +558 -230
- package/Generator.d.ts +1 -5
- package/Generator.js +128 -67
- package/GetterDependencyExtractor.d.ts +4 -0
- package/GetterDependencyExtractor.js +73 -0
- package/IndexHtmlTransformer.d.ts +6 -7
- package/IndexHtmlTransformer.js +82 -88
- package/Parse5Helpers.d.ts +17 -0
- package/Parse5Helpers.js +95 -0
- package/TemplateParser.d.ts +39 -21
- package/TemplateParser.js +462 -268
- package/Typeguards.d.ts +24 -0
- package/Typeguards.js +30 -0
- package/babel-plugin-class-transform.d.ts +3 -18
- package/babel-plugin-class-transform.js +3 -11
- package/babel-plugin-component.d.ts +4 -13
- package/babel-plugin-component.js +7 -0
- package/babel-plugin-imports.d.ts +3 -11
- package/babel-plugin-imports.js +5 -31
- package/babel-plugin-reactive.d.ts +2 -19
- package/babel-plugin-reactive.js +21 -76
- package/bin.js +2 -2
- package/fluff-esbuild-plugin.d.ts +2 -5
- package/fluff-esbuild-plugin.js +4 -1
- package/index.d.ts +6 -2
- package/index.js +1 -1
- package/interfaces/BabelPluginClassTransformState.d.ts +5 -0
- package/interfaces/BabelPluginComponentState.d.ts +4 -0
- package/interfaces/BabelPluginComponentState.js +1 -0
- package/interfaces/BabelPluginImportsState.d.ts +5 -0
- package/interfaces/BabelPluginImportsState.js +1 -0
- package/interfaces/BabelPluginReactiveState.d.ts +13 -0
- package/interfaces/BabelPluginReactiveState.js +1 -0
- package/interfaces/BabelPluginReactiveWatchCallInfo.d.ts +7 -0
- package/interfaces/BabelPluginReactiveWatchCallInfo.js +1 -0
- package/interfaces/BabelPluginReactiveWatchInfo.d.ts +5 -0
- package/interfaces/BabelPluginReactiveWatchInfo.js +1 -0
- package/interfaces/BabelToken.d.ts +8 -0
- package/interfaces/BabelToken.js +1 -0
- package/interfaces/BindingInfo.d.ts +12 -0
- package/interfaces/BindingInfo.js +1 -0
- package/interfaces/BreakMarkerConfig.d.ts +4 -0
- package/interfaces/BreakMarkerConfig.js +1 -0
- package/interfaces/BreakNode.d.ts +4 -0
- package/interfaces/BreakNode.js +1 -0
- package/interfaces/BundleOptions.d.ts +9 -0
- package/interfaces/BundleOptions.js +1 -0
- package/interfaces/ClassTransformOptions.d.ts +10 -0
- package/interfaces/ClassTransformOptions.js +1 -0
- package/interfaces/CliOptions.d.ts +8 -0
- package/interfaces/CliOptions.js +1 -0
- package/interfaces/CommentNode.d.ts +5 -0
- package/interfaces/CommentNode.js +1 -0
- package/interfaces/CompileResult.d.ts +6 -0
- package/interfaces/CompileResult.js +1 -0
- package/interfaces/CompilerOptions.d.ts +6 -0
- package/interfaces/CompilerOptions.js +1 -0
- package/interfaces/ComponentInfo.d.ts +8 -0
- package/interfaces/ComponentInfo.js +1 -0
- package/interfaces/ComponentMetadata.d.ts +9 -0
- package/interfaces/ComponentMetadata.js +1 -0
- package/interfaces/ControlFlow.d.ts +19 -0
- package/interfaces/ControlFlow.js +1 -0
- package/interfaces/ControlFlowNode.d.ts +6 -0
- package/interfaces/ControlFlowNode.js +1 -0
- package/interfaces/ControlFlowParseResult.d.ts +10 -0
- package/interfaces/ControlFlowParseResult.js +1 -0
- package/interfaces/ElementNode.d.ts +11 -0
- package/interfaces/ElementNode.js +1 -0
- package/interfaces/FluffConfigInterface.d.ts +7 -0
- package/interfaces/FluffConfigInterface.js +1 -0
- package/interfaces/FluffPluginOptions.d.ts +9 -0
- package/interfaces/FluffPluginOptions.js +1 -0
- package/interfaces/FluffTarget.d.ts +15 -0
- package/interfaces/FluffTarget.js +1 -0
- package/interfaces/ForMarkerConfig.d.ts +9 -0
- package/interfaces/ForMarkerConfig.js +1 -0
- package/interfaces/ForNode.d.ts +13 -0
- package/interfaces/ForNode.js +1 -0
- package/interfaces/GeneratorOptions.d.ts +5 -0
- package/interfaces/GeneratorOptions.js +1 -0
- package/interfaces/HtmlTransformOptions.d.ts +10 -0
- package/interfaces/HtmlTransformOptions.js +1 -0
- package/interfaces/IfBranch.d.ts +8 -0
- package/interfaces/IfBranch.js +1 -0
- package/interfaces/IfMarkerConfig.d.ts +8 -0
- package/interfaces/IfMarkerConfig.js +1 -0
- package/interfaces/IfNode.d.ts +7 -0
- package/interfaces/IfNode.js +1 -0
- package/interfaces/ImportTransformOptions.d.ts +7 -0
- package/interfaces/ImportTransformOptions.js +1 -0
- package/interfaces/InterpolationNode.d.ts +12 -0
- package/interfaces/InterpolationNode.js +1 -0
- package/interfaces/ParsedTemplate.d.ts +6 -0
- package/interfaces/ParsedTemplate.js +1 -0
- package/interfaces/ParsedTemplateOld.d.ts +9 -0
- package/interfaces/ParsedTemplateOld.js +1 -0
- package/interfaces/PropertyChain.d.ts +2 -0
- package/interfaces/PropertyChain.js +1 -0
- package/interfaces/Scope.d.ts +5 -0
- package/interfaces/Scope.js +1 -0
- package/interfaces/ServeOptions.d.ts +5 -0
- package/interfaces/ServeOptions.js +1 -0
- package/interfaces/SwitchCase.d.ts +8 -0
- package/interfaces/SwitchCase.js +1 -0
- package/interfaces/SwitchMarkerConfig.d.ts +11 -0
- package/interfaces/SwitchMarkerConfig.js +1 -0
- package/interfaces/SwitchNode.d.ts +10 -0
- package/interfaces/SwitchNode.js +1 -0
- package/interfaces/TemplateBinding.d.ts +10 -0
- package/interfaces/TemplateBinding.js +1 -0
- package/interfaces/TemplateNode.d.ts +7 -0
- package/interfaces/TemplateNode.js +1 -0
- package/interfaces/TextMarkerConfig.d.ts +10 -0
- package/interfaces/TextMarkerConfig.js +1 -0
- package/interfaces/TextNode.d.ts +5 -0
- package/interfaces/TextNode.js +1 -0
- package/interfaces/TokenizeResult.d.ts +6 -0
- package/interfaces/TokenizeResult.js +1 -0
- package/interfaces/TransformOptions.d.ts +11 -0
- package/interfaces/TransformOptions.js +1 -0
- package/interfaces/index.d.ts +34 -0
- package/interfaces/index.js +1 -0
- package/package.json +9 -1
- package/types/FluffConfig.d.ts +5 -27
- package/ControlFlowParser.d.ts +0 -55
- package/ControlFlowParser.js +0 -279
- package/types.d.ts +0 -46
- /package/{types.js → interfaces/BabelPluginClassTransformState.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface SwitchCaseOld {
|
|
2
|
+
value: string | null;
|
|
3
|
+
content: string;
|
|
4
|
+
fallthrough: boolean;
|
|
5
|
+
}
|
|
6
|
+
export interface ControlFlow {
|
|
7
|
+
id: string;
|
|
8
|
+
type: 'if' | 'for' | 'switch';
|
|
9
|
+
condition?: string;
|
|
10
|
+
ifContent?: string;
|
|
11
|
+
elseContent?: string;
|
|
12
|
+
iterator?: string;
|
|
13
|
+
iterable?: string;
|
|
14
|
+
trackBy?: string;
|
|
15
|
+
content?: string;
|
|
16
|
+
expression?: string;
|
|
17
|
+
cases?: SwitchCaseOld[];
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=ControlFlow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { BreakNode } from './BreakNode.js';
|
|
2
|
+
import type { ForNode } from './ForNode.js';
|
|
3
|
+
import type { IfNode } from './IfNode.js';
|
|
4
|
+
import type { SwitchNode } from './SwitchNode.js';
|
|
5
|
+
export type ControlFlowNode = IfNode | ForNode | SwitchNode | BreakNode;
|
|
6
|
+
//# sourceMappingURL=ControlFlowNode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { BindingInfo } from './BindingInfo.js';
|
|
2
|
+
import type { TemplateNode } from './TemplateNode.js';
|
|
3
|
+
export interface ElementNode {
|
|
4
|
+
type: 'element';
|
|
5
|
+
tagName: string;
|
|
6
|
+
attributes: Record<string, string>;
|
|
7
|
+
bindings: BindingInfo[];
|
|
8
|
+
children: TemplateNode[];
|
|
9
|
+
id?: string;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=ElementNode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { BundleOptions } from './BundleOptions.js';
|
|
2
|
+
import type { ServeOptions } from './ServeOptions.js';
|
|
3
|
+
export interface FluffTarget {
|
|
4
|
+
name: string;
|
|
5
|
+
srcDir: string;
|
|
6
|
+
outDir: string;
|
|
7
|
+
entryPoint?: string;
|
|
8
|
+
indexHtml?: string;
|
|
9
|
+
components: string[];
|
|
10
|
+
styles?: string[];
|
|
11
|
+
assets?: string[];
|
|
12
|
+
bundle?: BundleOptions;
|
|
13
|
+
serve?: ServeOptions;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=FluffTarget.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { PropertyChain } from './PropertyChain.js';
|
|
2
|
+
import type { TemplateNode } from './TemplateNode.js';
|
|
3
|
+
export interface ForNode {
|
|
4
|
+
type: 'for';
|
|
5
|
+
iterator: string;
|
|
6
|
+
iterable: string;
|
|
7
|
+
iterableDeps?: PropertyChain[];
|
|
8
|
+
trackBy?: string;
|
|
9
|
+
emptyContent?: TemplateNode[];
|
|
10
|
+
children: TemplateNode[];
|
|
11
|
+
localVariables: string[];
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=ForNode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { PropertyChain } from './PropertyChain.js';
|
|
2
|
+
import type { TemplateNode } from './TemplateNode.js';
|
|
3
|
+
export interface IfBranch {
|
|
4
|
+
condition?: string;
|
|
5
|
+
conditionDeps?: PropertyChain[];
|
|
6
|
+
children: TemplateNode[];
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=IfBranch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { PropertyChain } from './PropertyChain.js';
|
|
2
|
+
export interface InterpolationNode {
|
|
3
|
+
type: 'interpolation';
|
|
4
|
+
expression: string;
|
|
5
|
+
deps?: PropertyChain[];
|
|
6
|
+
id?: string;
|
|
7
|
+
pipes?: {
|
|
8
|
+
name: string;
|
|
9
|
+
args: string[];
|
|
10
|
+
}[];
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=InterpolationNode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ControlFlow } from './ControlFlow.js';
|
|
2
|
+
import type { TemplateBinding } from './TemplateBinding.js';
|
|
3
|
+
export interface ParsedTemplateOld {
|
|
4
|
+
html: string;
|
|
5
|
+
bindings: TemplateBinding[];
|
|
6
|
+
controlFlows: ControlFlow[];
|
|
7
|
+
templateRefs: string[];
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=ParsedTemplateOld.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface SwitchMarkerConfig {
|
|
2
|
+
type: 'switch';
|
|
3
|
+
expressionExprId: number;
|
|
4
|
+
deps?: (string | string[])[];
|
|
5
|
+
cases: {
|
|
6
|
+
valueExprId?: number;
|
|
7
|
+
isDefault: boolean;
|
|
8
|
+
fallthrough: boolean;
|
|
9
|
+
}[];
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=SwitchMarkerConfig.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { PropertyChain } from './PropertyChain.js';
|
|
2
|
+
import type { SwitchCase } from './SwitchCase.js';
|
|
3
|
+
export interface SwitchNode {
|
|
4
|
+
type: 'switch';
|
|
5
|
+
expression: string;
|
|
6
|
+
expressionDeps?: PropertyChain[];
|
|
7
|
+
cases: SwitchCase[];
|
|
8
|
+
localVariables: string[];
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=SwitchNode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface TemplateBinding {
|
|
2
|
+
id: string;
|
|
3
|
+
type: 'text' | 'property' | 'event' | 'class' | 'style';
|
|
4
|
+
expression: string;
|
|
5
|
+
target?: string;
|
|
6
|
+
eventName?: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
styleProp?: string;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=TemplateBinding.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { CommentNode } from './CommentNode.js';
|
|
2
|
+
import type { ControlFlowNode } from './ControlFlowNode.js';
|
|
3
|
+
import type { ElementNode } from './ElementNode.js';
|
|
4
|
+
import type { InterpolationNode } from './InterpolationNode.js';
|
|
5
|
+
import type { TextNode } from './TextNode.js';
|
|
6
|
+
export type TemplateNode = ControlFlowNode | ElementNode | TextNode | InterpolationNode | CommentNode;
|
|
7
|
+
//# sourceMappingURL=TemplateNode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface TransformOptions {
|
|
2
|
+
addThisPrefix?: boolean;
|
|
3
|
+
nullSafe?: boolean;
|
|
4
|
+
iteratorName?: string;
|
|
5
|
+
iteratorReplacement?: string;
|
|
6
|
+
localVars?: string[];
|
|
7
|
+
localsObjectName?: string;
|
|
8
|
+
eventReplacementName?: string;
|
|
9
|
+
templateRefs?: string[];
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=TransformOptions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export type { BindingInfo } from './BindingInfo.js';
|
|
2
|
+
export type { BreakNode } from './BreakNode.js';
|
|
3
|
+
export type { BundleOptions } from './BundleOptions.js';
|
|
4
|
+
export type { CliOptions } from './CliOptions.js';
|
|
5
|
+
export type { ClassTransformOptions } from './ClassTransformOptions.js';
|
|
6
|
+
export type { CommentNode } from './CommentNode.js';
|
|
7
|
+
export type { CompileResult } from './CompileResult.js';
|
|
8
|
+
export type { CompilerOptions } from './CompilerOptions.js';
|
|
9
|
+
export type { ComponentInfo } from './ComponentInfo.js';
|
|
10
|
+
export type { ComponentMetadata } from './ComponentMetadata.js';
|
|
11
|
+
export type { ControlFlow, SwitchCaseOld } from './ControlFlow.js';
|
|
12
|
+
export type { ControlFlowNode } from './ControlFlowNode.js';
|
|
13
|
+
export type { ElementNode } from './ElementNode.js';
|
|
14
|
+
export type { FluffConfig } from './FluffConfigInterface.js';
|
|
15
|
+
export type { FluffPluginOptions } from './FluffPluginOptions.js';
|
|
16
|
+
export type { FluffTarget } from './FluffTarget.js';
|
|
17
|
+
export type { ForNode } from './ForNode.js';
|
|
18
|
+
export type { HtmlTransformOptions } from './HtmlTransformOptions.js';
|
|
19
|
+
export type { IfBranch } from './IfBranch.js';
|
|
20
|
+
export type { IfNode } from './IfNode.js';
|
|
21
|
+
export type { ImportTransformOptions } from './ImportTransformOptions.js';
|
|
22
|
+
export type { InterpolationNode } from './InterpolationNode.js';
|
|
23
|
+
export type { ParsedTemplate } from './ParsedTemplate.js';
|
|
24
|
+
export type { ParsedTemplateOld } from './ParsedTemplateOld.js';
|
|
25
|
+
export type { PropertyChain } from './PropertyChain.js';
|
|
26
|
+
export type { Scope } from './Scope.js';
|
|
27
|
+
export type { ServeOptions } from './ServeOptions.js';
|
|
28
|
+
export type { SwitchCase } from './SwitchCase.js';
|
|
29
|
+
export type { SwitchNode } from './SwitchNode.js';
|
|
30
|
+
export type { TemplateBinding } from './TemplateBinding.js';
|
|
31
|
+
export type { TemplateNode } from './TemplateNode.js';
|
|
32
|
+
export type { TextNode } from './TextNode.js';
|
|
33
|
+
export type { TransformOptions } from './TransformOptions.js';
|
|
34
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluffjs/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -30,11 +30,19 @@
|
|
|
30
30
|
"@babel/traverse": "^7.28.6",
|
|
31
31
|
"@babel/types": "^7.28.6",
|
|
32
32
|
"esbuild": "^0.27.2",
|
|
33
|
+
"he": "^1.2.0",
|
|
33
34
|
"html-minifier-terser": "^7.2.0",
|
|
35
|
+
"picomatch": "^4.0.2",
|
|
34
36
|
"parse5": "^8.0.0",
|
|
37
|
+
"parse5-sax-parser": "^8.0.0",
|
|
35
38
|
"source-map": "^0.7.6",
|
|
36
39
|
"tslib": "^2.3.0"
|
|
37
40
|
},
|
|
41
|
+
"devDependencies": {
|
|
42
|
+
"@types/he": "^1.2.3",
|
|
43
|
+
"@types/jsesc": "^3.0.3",
|
|
44
|
+
"jsesc": "^3.1.0"
|
|
45
|
+
},
|
|
38
46
|
"publishConfig": {
|
|
39
47
|
"access": "public"
|
|
40
48
|
}
|
package/types/FluffConfig.d.ts
CHANGED
|
@@ -1,29 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
external?: string[];
|
|
7
|
-
}
|
|
8
|
-
export interface ServeOptions {
|
|
9
|
-
port?: number;
|
|
10
|
-
host?: string;
|
|
11
|
-
}
|
|
12
|
-
export interface FluffTarget {
|
|
13
|
-
name: string;
|
|
14
|
-
srcDir: string;
|
|
15
|
-
outDir: string;
|
|
16
|
-
entryPoint?: string;
|
|
17
|
-
indexHtml?: string;
|
|
18
|
-
components: string[];
|
|
19
|
-
assets?: string[];
|
|
20
|
-
bundle?: BundleOptions;
|
|
21
|
-
serve?: ServeOptions;
|
|
22
|
-
}
|
|
23
|
-
export interface FluffConfig {
|
|
24
|
-
version: string;
|
|
25
|
-
targets: Record<string, FluffTarget>;
|
|
26
|
-
defaultTarget?: string;
|
|
27
|
-
}
|
|
1
|
+
import type { FluffConfig } from '../interfaces/FluffConfigInterface.js';
|
|
2
|
+
export type { BundleOptions } from '../interfaces/BundleOptions.js';
|
|
3
|
+
export type { FluffConfig } from '../interfaces/FluffConfigInterface.js';
|
|
4
|
+
export type { FluffTarget } from '../interfaces/FluffTarget.js';
|
|
5
|
+
export type { ServeOptions } from '../interfaces/ServeOptions.js';
|
|
28
6
|
export declare const DEFAULT_CONFIG: FluffConfig;
|
|
29
7
|
//# sourceMappingURL=FluffConfig.d.ts.map
|