Skip to content

Commit 57a9b1a

Browse files
committed
chore: simplify scripts and config
1 parent e6d18ac commit 57a9b1a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"dist"
1919
],
2020
"scripts": {
21-
"build": "rslib build",
22-
"dev": "rslib build --watch",
21+
"build": "rslib",
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
"dev:rspack": "NODE_ENV=development npx rspack dev",
88
"build": "npx rsbuild build",
99
"build:rspack": "NODE_ENV=production npx rspack build"

rslib.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { defineConfig } from '@rslib/core';
22

33
export default defineConfig({
44
lib: [
5-
{ format: 'esm', syntax: 'es2021', dts: true },
5+
{ syntax: 'es2021', dts: true },
66
{ format: 'cjs', syntax: 'es2021' },
77
],
88
});

0 commit comments

Comments
 (0)