File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 99 "homepage" : " https://github.com/projectwallace/format-css" ,
1010 "issues" : " https://github.com/projectwallace/format-css/issues" ,
1111 "license" : " MIT" ,
12+ "engines" : {
13+ "node" : " >=18.0.0"
14+ },
1215 "type" : " module" ,
13- "source " : " index .js" ,
16+ "main " : " ./dist/format-css .js" ,
1417 "exports" : {
1518 "types" : " ./dist/index.d.ts" ,
16- "require" : " ./dist/format-css.umd.cjs" ,
1719 "default" : " ./dist/format-css.js"
1820 },
1921 "types" : " ./dist/index.d.ts" ,
20- "main" : " ./dist/format-css.umd.cjs" ,
21- "module" : " ./dist/format-css.js" ,
22- "unpkg" : " ./dist/format-css.umd.cjs" ,
2322 "scripts" : {
2423 "build" : " vite build" ,
2524 "test" : " c8 --reporter=lcov uvu" ,
Original file line number Diff line number Diff line change @@ -7,8 +7,7 @@ export default defineConfig({
77 build : {
88 lib : {
99 entry : resolve ( __dirname , "index.js" ) ,
10- name : "formatCss" ,
11- fileName : "format-css" ,
10+ formats : [ "es" ] ,
1211 } ,
1312 rollupOptions : {
1413 // make sure to externalize deps that shouldn't be bundled
You can’t perform that action at this time.
0 commit comments