File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 66 "version" : " 1.0.0" ,
77 "type" : " module" ,
88 "files" : [
9- " build"
9+ " build" ,
10+ " documentation/*.md"
1011 ],
1112 "main" : " ./build/index.umd.cjs" ,
1213 "module" : " ./build/index.js" ,
2021 },
2122 "scripts" : {
2223 "dev" : " vite --config test/vite.config.js" ,
23- "build" : " vite build" ,
24+ "build" : " vite build --config vite.config.js " ,
2425 "docs:api" : " deno run -A documentation/generateDocumentation.js"
2526 },
2627 "devDependencies" : {
Original file line number Diff line number Diff line change @@ -13,22 +13,22 @@ export default defineConfig({
1313 }
1414 } ,
1515 build : {
16- output : {
17- exports : "named"
18- } ,
1916 outDir : resolve ( __dirname , "./build/" ) ,
2017 minify : false ,
2118 cssMinify : false ,
2219 lib : {
2320 entry : resolve ( __dirname , "./library/sheet.jsx" ) ,
2421 name : "SheetElement" ,
25- fileName : "index"
22+ fileName : "index" ,
2623 } ,
2724 cssCodeSplit : true ,
2825 rollupOptions : {
2926 // make sure to externalize deps that shouldn't be bundled
3027 // into your library
31- external : [ ]
28+ external : [ ] ,
29+ output : {
30+ exports : "named" ,
31+ }
3232 }
3333 }
3434} )
You can’t perform that action at this time.
0 commit comments