Skip to content

Commit a56efcc

Browse files
committed
fix(initial):remove dependencies
1 parent 0ad9d95 commit a56efcc

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ Summary
99
5. version timestamp follow the yyyy.MM.dd format
1010
```
1111

12+
## 0.8.2 [2023.03.09]
13+
14+
- fix: template vanilla-js initial error(remove `@vitejs/plugin-react` dependency)
15+
- fix: `yarn create` error with `--template` options
16+
1217
## 0.8.1 [2022.09.09]
1318

1419
- docs: add zn_CN readme

template-vanilla-js/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"dependencies": {},
2424
"devDependencies": {
2525
"@crxjs/vite-plugin": "^1.0.12",
26-
"@vitejs/plugin-react": "^1.3.2",
2726
"prettier": "^2.7.1",
2827
"vite": "^2.9.13"
2928
}

template-vanilla-js/vite.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { defineConfig } from 'vite'
22
import { crx } from '@crxjs/vite-plugin'
3-
import react from '@vitejs/plugin-react'
43

54
import manifest from './src/manifest.js'
65

@@ -17,6 +16,6 @@ export default defineConfig(({ mode }) => {
1716
},
1817
},
1918

20-
plugins: [crx({ manifest }), react()],
19+
plugins: [crx({ manifest })],
2120
}
2221
})

0 commit comments

Comments
 (0)