From be84c96eba1a3ebeb4f595fc6b264db1de2d91a3 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Sat, 15 Sep 2018 18:23:50 -0400 Subject: [PATCH] put css/ under compile/ --- src/compile/Component.ts | 2 +- src/{ => compile}/css/Selector.ts | 0 src/{ => compile}/css/Stylesheet.ts | 0 src/{ => compile}/css/gatherPossibleValues.ts | 0 src/compile/dom/index.ts | 4 +--- 5 files changed, 2 insertions(+), 4 deletions(-) rename src/{ => compile}/css/Selector.ts (100%) rename src/{ => compile}/css/Stylesheet.ts (100%) rename src/{ => compile}/css/gatherPossibleValues.ts (100%) diff --git a/src/compile/Component.ts b/src/compile/Component.ts index 05bab19cc5..cd3d81082d 100644 --- a/src/compile/Component.ts +++ b/src/compile/Component.ts @@ -13,7 +13,7 @@ import nodeToString from '../utils/nodeToString'; import wrapModule from './wrapModule'; import annotateWithScopes from '../utils/annotateWithScopes'; import getName from '../utils/getName'; -import Stylesheet from '../css/Stylesheet'; +import Stylesheet from './css/Stylesheet'; import { test } from '../config'; import Fragment from './nodes/Fragment'; import shared from './shared'; diff --git a/src/css/Selector.ts b/src/compile/css/Selector.ts similarity index 100% rename from src/css/Selector.ts rename to src/compile/css/Selector.ts diff --git a/src/css/Stylesheet.ts b/src/compile/css/Stylesheet.ts similarity index 100% rename from src/css/Stylesheet.ts rename to src/compile/css/Stylesheet.ts diff --git a/src/css/gatherPossibleValues.ts b/src/compile/css/gatherPossibleValues.ts similarity index 100% rename from src/css/gatherPossibleValues.ts rename to src/compile/css/gatherPossibleValues.ts diff --git a/src/compile/dom/index.ts b/src/compile/dom/index.ts index 5780aca1d8..11b30e8313 100644 --- a/src/compile/dom/index.ts +++ b/src/compile/dom/index.ts @@ -3,10 +3,8 @@ import { stringify, escape } from '../../utils/stringify'; import CodeBuilder from '../../utils/CodeBuilder'; import globalWhitelist from '../../utils/globalWhitelist'; import Component from '../Component'; -import Stylesheet from '../../css/Stylesheet'; -import Stats from '../../Stats'; import Block from './Block'; -import { Ast, CompileOptions } from '../../interfaces'; +import { CompileOptions } from '../../interfaces'; export class DomTarget { blocks: (Block|string)[];