Skip to content

Commit 54dc247

Browse files
committed
chore: drop .js extensions from imports in nanoviews-component skill
1 parent e36648b commit 54dc247

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎skills/nanoviews-component/SKILL.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ import type {
114114
Meta,
115115
StoryObj
116116
} from '@nanoviews/storybook'
117-
import { Button } from './Button.js'
117+
import { Button } from './Button'
118118

119119
const meta: Meta<{
120120
variant: 'primary' | 'secondary'
@@ -168,11 +168,11 @@ import {
168168
component$,
169169
swap_
170170
} from 'nanoviews'
171-
import type { MDXEditorProps } from './MDXEditor.js'
172-
import { MDXEditorSkeleton } from './skeleton.js'
171+
import type { MDXEditorProps } from './MDXEditor'
172+
import { MDXEditorSkeleton } from './skeleton'
173173

174174
export const MDXEditor = component$((props: MDXEditorProps, children) => {
175-
const [$module] = resolved(() => import('./MDXEditor.js'))
175+
const [$module] = resolved(() => import('./MDXEditor'))
176176

177177
return swap_($module, module => (
178178
module

0 commit comments

Comments
 (0)