|
20 | 20 | "author": "PathScale (https://vue3.dev/)",
|
21 | 21 | "contributors": [],
|
22 | 22 | "sideEffects": false,
|
23 |
| - "main": "dist/bundle.js", |
24 |
| - "module": "dist/bundle.js", |
25 |
| - "browser": "dist/bundle-browser.js", |
26 |
| - "style": "dist/bundle.css", |
| 23 | + "main": "bundle.js", |
| 24 | + "module": "bundle.js", |
| 25 | + "browser": "bundle-browser.js", |
| 26 | + "style": "bundle.css", |
27 | 27 | "scripts": {
|
28 | 28 | "prebuild": "bun run helper/index.ts && shx rm -rf dist",
|
29 |
| - "build": "rollup -c --environment NODE_ENV:production", |
| 29 | + "build": "rsbuild build", |
30 | 30 | "postbuild": "shx cp helper/mappings.json helper/classes.json dist",
|
31 | 31 | "css-lint": "stylelint src",
|
32 | 32 | "lint": "eslint --ext .js,.ts,.vue,.md,.html --max-warnings=0 .",
|
|
65 | 65 | "@eslint/eslintrc": "^3.3.1",
|
66 | 66 | "@eslint/js": "^9.23.0",
|
67 | 67 | "@pathscale/rollup-plugin-vue3": "^0.0.4",
|
| 68 | + "@rsbuild/core": "^1.3.5", |
| 69 | + "@rsbuild/plugin-node-polyfill": "^1.3.0", |
| 70 | + "@rsbuild/plugin-vue": "^1.0.7", |
| 71 | + "@rsdoctor/rspack-plugin": "^1.0.1", |
68 | 72 | "@testing-library/jest-dom": "^6.6.3",
|
69 | 73 | "@types/fs-extra": "9.0.5",
|
70 | 74 | "@types/node": "*",
|
|
0 commit comments