create-packer 1.50.9 → 1.50.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-packer",
3
- "version": "1.50.9",
3
+ "version": "1.50.11",
4
4
  "main": "index.js",
5
5
  "repository": "https://github.com/kevily/create-packer",
6
6
  "author": "1k <bug_zero@163.com>",
@@ -47,7 +47,7 @@
47
47
  "scripts": {
48
48
  "login": "npm login --registry https://registry.npmjs.org",
49
49
  "changeset": "pnpm run build && pnpm run push && node ./scripts/version.js",
50
- "pub": "pnpm run login && pnpm publish --registry https://registry.npmjs.org && git push",
50
+ "pub": "pnpm publish --registry https://registry.npmjs.org && git push",
51
51
  "test": "pnpm run build && rimraf ./__test__ && node ./bin __test__",
52
52
  "build": "rimraf ./bin && tsc",
53
53
  "format": "pnpm -r run format",
@@ -15,7 +15,7 @@ export default defineConfig(({ envMode, command }) => {
15
15
  html: {
16
16
  template: './index.html',
17
17
  title: 'Rsbuild + React + TS',
18
- favicon: './src/assets/react.svg'
18
+ favicon: './public/react.svg'
19
19
  },
20
20
  source: {
21
21
  entry: {
@@ -2,7 +2,7 @@
2
2
  <html lang="en">
3
3
  <head>
4
4
  <meta charset="UTF-8" />
5
- <link rel="icon" type="image/svg+xml" href="/src/assets/favicon.svg" />
5
+ <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>Vite + React + TS</title>
8
8
  </head>
@@ -2,7 +2,7 @@
2
2
  <html lang="en">
3
3
  <head>
4
4
  <meta charset="UTF-8" />
5
- <link rel="icon" type="image/svg+xml" href="/src/assets/favicon.svg" />
5
+ <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>Vite + Vue + TS</title>
8
8
  </head>
@@ -12,7 +12,7 @@ export default defineConfig(({ envMode, command }) => {
12
12
  html: {
13
13
  template: './index.html',
14
14
  title: 'Rsbuild + Vue + TS',
15
- favicon: './src/assets/vue.svg'
15
+ favicon: './public/favicon.svg'
16
16
  },
17
17
  source: {
18
18
  entry: {