diff --git a/src/compiler/compile/index.ts b/src/compiler/compile/index.ts index 12b161aeeb..63d66c2dc5 100644 --- a/src/compiler/compile/index.ts +++ b/src/compiler/compile/index.ts @@ -1,4 +1,3 @@ -import { assign } from '../../runtime/internal/utils'; import Stats from '../Stats'; import parse from '../parse/index'; import render_dom from './render_dom/index'; @@ -68,7 +67,7 @@ function validate_options(options: CompileOptions, warnings: Warning[]) { } export default function compile(source: string, options: CompileOptions = {}) { - options = assign({ generate: 'dom', dev: false }, options); + options = Object.assign({ generate: 'dom', dev: false }, options); const stats = new Stats(); const warnings = []; diff --git a/src/runtime/internal/utils.ts b/src/runtime/internal/utils.ts index d8ccbe337e..d3d311d9d9 100644 --- a/src/runtime/internal/utils.ts +++ b/src/runtime/internal/utils.ts @@ -1,4 +1,4 @@ -import { Readable } from "../store"; +import { Readable } from "svelte/store"; export function noop() {}