Skip to content

Commit a6769f9

Browse files
committed
update shnippet paths
1 parent d311992 commit a6769f9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/shnippet-demo/shnippet.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export const config = {
22
rootDirectory: './tests',
3-
snippetOutputDirectory: './snippets',
3+
snippetOutputDirectory: './public/snippets',
44
fileExtensions: ['.ts', '.py'],
55
exclude: [],
66
snippetTags: {

examples/shnippet-demo/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { useEffect, useState } from 'react';
22
import './App.css';
33
import { snippetManager } from 'shnippet';
4-
import type { SnippetName } from '../snippets/gen-types';
4+
import type { SnippetName } from '../public/snippets/gen-types';
55
import type { SnippetResult } from 'shnippet';
66
import { SnippetCard } from './components/SnippetCard';
77

0 commit comments

Comments
 (0)