Skip to content

Commit 939340b

Browse files
authored
chore: simplify scripts and config (#58)
1 parent 9029251 commit 939340b

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
"types": "./dist/index.d.ts",
1818
"files": ["dist"],
1919
"scripts": {
20-
"build": "rslib build",
20+
"build": "rslib",
2121
"bump": "npx bumpp",
22-
"dev": "rslib build --watch",
22+
"dev": "rslib -w",
2323
"lint": "biome check .",
2424
"lint:write": "biome check . --write",
2525
"prepare": "simple-git-hooks && npm run build",

playground/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"private": true,
44
"version": "0.0.0",
55
"scripts": {
6-
"dev": "npx rsbuild dev",
6+
"dev": "npx rsbuild",
77
"build": "npx rsbuild build"
88
}
99
}

rslib.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ const pluginGenerateMinified: (filename: string) => RsbuildPlugin = (
6363
export default defineConfig({
6464
lib: [
6565
{
66-
format: 'esm',
6766
syntax: 'es2021',
6867
dts: {
6968
bundle: true,

0 commit comments

Comments
 (0)