|
|
@ -1,35 +1,35 @@
|
|
|
|
import { walk } from 'estree-walker';
|
|
|
|
import { walk } from 'estree-walker';
|
|
|
|
import { getLocator } from 'locate-character';
|
|
|
|
import { getLocator } from 'locate-character';
|
|
|
|
import Stats from '../Stats';
|
|
|
|
import Stats from '../Stats.ts';
|
|
|
|
import { globals, reserved, is_valid } from '../utils/names';
|
|
|
|
import { globals, reserved, is_valid } from '../utils/names.ts';
|
|
|
|
import { namespaces, valid_namespaces } from '../utils/namespaces';
|
|
|
|
import { namespaces, valid_namespaces } from '../utils/namespaces.ts';
|
|
|
|
import create_module from './create_module';
|
|
|
|
import create_module from './create_module.ts';
|
|
|
|
import {
|
|
|
|
import {
|
|
|
|
create_scopes,
|
|
|
|
create_scopes,
|
|
|
|
extract_names,
|
|
|
|
extract_names,
|
|
|
|
Scope,
|
|
|
|
Scope,
|
|
|
|
extract_identifiers
|
|
|
|
extract_identifiers
|
|
|
|
} from './utils/scope';
|
|
|
|
} from './utils/scope.ts';
|
|
|
|
import Stylesheet from './css/Stylesheet';
|
|
|
|
import Stylesheet from './css/Stylesheet.ts';
|
|
|
|
import { test } from '../config';
|
|
|
|
import { test } from '../config.ts';
|
|
|
|
import Fragment from './nodes/Fragment';
|
|
|
|
import Fragment from './nodes/Fragment.ts';
|
|
|
|
import internal_exports from './internal_exports';
|
|
|
|
import internal_exports from './internal_exports.ts';
|
|
|
|
import { Ast, CompileOptions, Var, Warning, CssResult } from '../interfaces';
|
|
|
|
import { Ast, CompileOptions, Var, Warning, CssResult } from '../interfaces.ts';
|
|
|
|
import error from '../utils/error';
|
|
|
|
import error from '../utils/error.ts';
|
|
|
|
import get_code_frame from '../utils/get_code_frame';
|
|
|
|
import get_code_frame from '../utils/get_code_frame.ts';
|
|
|
|
import flatten_reference from './utils/flatten_reference';
|
|
|
|
import flatten_reference from './utils/flatten_reference.ts';
|
|
|
|
import is_used_as_reference from './utils/is_used_as_reference';
|
|
|
|
import is_used_as_reference from './utils/is_used_as_reference.ts';
|
|
|
|
import is_reference from 'is-reference';
|
|
|
|
import is_reference from 'is-reference';
|
|
|
|
import TemplateScope from './nodes/shared/TemplateScope';
|
|
|
|
import TemplateScope from './nodes/shared/TemplateScope.ts';
|
|
|
|
import fuzzymatch from '../utils/fuzzymatch';
|
|
|
|
import fuzzymatch from '../utils/fuzzymatch.ts';
|
|
|
|
import get_object from './utils/get_object';
|
|
|
|
import get_object from './utils/get_object.ts';
|
|
|
|
import Slot from './nodes/Slot';
|
|
|
|
import Slot from './nodes/Slot.ts';
|
|
|
|
import { Node, ImportDeclaration, Identifier, Program, ExpressionStatement, AssignmentExpression, Literal } from 'estree';
|
|
|
|
import { Node, ImportDeclaration, Identifier, Program, ExpressionStatement, AssignmentExpression, Literal } from 'estree';
|
|
|
|
import add_to_set from './utils/add_to_set';
|
|
|
|
import add_to_set from './utils/add_to_set.ts';
|
|
|
|
import check_graph_for_cycles from './utils/check_graph_for_cycles';
|
|
|
|
import check_graph_for_cycles from './utils/check_graph_for_cycles.ts';
|
|
|
|
import { print, x, b } from 'code-red';
|
|
|
|
import { print, x, b } from 'code-red';
|
|
|
|
import { is_reserved_keyword } from './utils/reserved_keywords';
|
|
|
|
import { is_reserved_keyword } from './utils/reserved_keywords.ts';
|
|
|
|
import Element from './nodes/Element';
|
|
|
|
import Element from './nodes/Element.ts';
|
|
|
|
|
|
|
|
|
|
|
|
interface ComponentOptions {
|
|
|
|
interface ComponentOptions {
|
|
|
|
namespace?: string;
|
|
|
|
namespace?: string;
|
|
|
|