Skip to content

Commit

Permalink
fix: disable $lib imports (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
elcharitas authored Jan 5, 2023
1 parent 5cade46 commit 1a39631
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lib/components/basic/Box.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts">
import { current_component } from 'svelte/internal';
import { eventsForward, chakra, createStyle, omit } from '$lib';
import { eventsForward, createStyle, chakra } from '$lib/core';
export let events = eventsForward(current_component);
export let as: any = 'div';
Expand Down
3 changes: 2 additions & 1 deletion src/lib/components/providers/ChakraProvider.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<script lang="ts">
import { onMount } from 'svelte';
import { toCSSVar } from '@chakra-ui/styled-system';
import { theme as baseTheme, themeStore, injectGlobal } from '$lib';
import { injectGlobal } from '$lib/core';
import { theme as baseTheme, themeStore } from '$lib/theme';
export let theme = baseTheme;
export let isMounted = false;
Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "./.svelte-kit/tsconfig.json",
"compilerOptions": {
"paths": {
"$lib": ["./src/lib"],
"$lib/*": ["./src/lib/*"],
"$docs": ["./src/docs"],
"$docs/*": ["./src/docs/*"]
Expand Down

0 comments on commit 1a39631

Please sign in to comment.