File tree Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 3
3
"version" : " 1.4.0-alpha.2" ,
4
4
"description" : " Shadcn Theme Editor" ,
5
5
"module" : " dist/index.mjs" ,
6
+ "main" : " dist/index.js" ,
6
7
"types" : " dist/index.d.ts" ,
7
8
"repository" : {
8
9
"type" : " git" ,
Original file line number Diff line number Diff line change @@ -25,12 +25,14 @@ export default [
25
25
{
26
26
file : packageJson . main ,
27
27
format : "cjs" ,
28
- // sourcemap: true,
28
+ exports : 'named' ,
29
+ sourcemap : true ,
29
30
} ,
30
31
{
31
32
file : packageJson . module ,
32
33
format : "esm" ,
33
- // sourcemap: true,
34
+ exports : 'named' ,
35
+ sourcemap : true ,
34
36
} ,
35
37
36
38
] ,
Original file line number Diff line number Diff line change 1
- "use client" ;
2
1
import { useState } from "react" ;
3
2
import { Sidebar } from "./sidebar" ;
4
3
import clsx from "clsx" ;
Original file line number Diff line number Diff line change 1
1
import "./tailwind.css" ;
2
2
import ShadcnThemeEditor from "./components/editor-open" ;
3
3
import { setSavedTheme } from "./lib/set-saved-theme" ;
4
- export { Icons } from "./components/icons" ;
4
+ import { Icons } from "./components/icons" ;
5
5
6
- export { setSavedTheme } ;
6
+ export { Icons , setSavedTheme } ;
7
7
export default ShadcnThemeEditor ;
You can’t perform that action at this time.
0 commit comments