Skip to content

Commit 281e524

Browse files
authored
Merge pull request #52 from trivikr/format-config-files
chore: update format script to prettify config files in root
2 parents 5f5409c + 6644a1c commit 281e524

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"dev": "vite",
1919
"build": "vite build && workbox generateSW workbox-config.js",
2020
"build:lib": "vite build -c vite-lib.config.ts",
21-
"format": "prettier -w \"{src,playground}/**/*.{js,json,ts,tsx,html,css}\"",
21+
"format": "prettier -w \"{src,playground}/**/*.{js,json,ts,tsx,html,css}\" \"*.{js,ts}\"",
2222
"prepublishOnly": "pnpm build:lib"
2323
},
2424
"devDependencies": {

vite-lib.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default defineConfig({
88
'process.env.NODE_DEBUG': 'false',
99
},
1010
publicDir: 'types',
11-
base: "./",
11+
base: './',
1212
build: {
1313
lib: {
1414
entry: '', // we override this with input below

0 commit comments

Comments
 (0)