This repository was archived by the owner on Jul 24, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +274
-248
lines changed
Expand file tree Collapse file tree 5 files changed +274
-248
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 0.1.2
4+
5+ - Add vite as peer dependency
6+ - Pin @swc/core version to 1.2.141 to avoid a 30mb bump of bundle size
7+
38## 0.1.1
49
510Add LICENSE
Original file line number Diff line number Diff line change 11{
22 "name" : " vite-plugin-swc-react-refresh" ,
33 "description" : " Use the versatility of swc for development and the maturity of esbuild for production" ,
4- "version" : " 0.1.1 " ,
4+ "version" : " 0.1.2 " ,
55 "license" : " MIT" ,
66 "author" : " Arnaud Barré (https://github.com/ArnaudBarre)" ,
77 "main" : " src/swc-react-refresh.js" ,
8+ "files" : [
9+ " src/*.js" ,
10+ " src/*.d.ts"
11+ ],
812 "repository" : " github:ArnaudBarre/vite-plugin-swc-react-refresh" ,
913 "keywords" : [
1014 " vite" ,
2327 "trailingComma" : " all"
2428 },
2529 "dependencies" : {
26- "@swc/core" : " ^1.2.133"
30+ "@swc/core" : " 1.2.141"
31+ },
32+ "peerDependencies" : {
33+ "vite" : " ^2 || ^3"
2734 },
2835 "devDependencies" : {
29- "@types/node" : " ^17 .0.10 " ,
30- "prettier" : " ^2.5 .1" ,
31- "typescript" : " ^4.5 .4" ,
32- "vite" : " ^2.7.13 "
36+ "@types/node" : " ^18 .0.6 " ,
37+ "prettier" : " ^2.7 .1" ,
38+ "typescript" : " ^4.7 .4" ,
39+ "vite" : " ^3.0.2 "
3340 }
3441}
Original file line number Diff line number Diff line change 11{
22 "include" : [" src" ],
33 "compilerOptions" : {
4- /* Target node12 */
4+ /* Target node 14 */
55 "module" : " CommonJS" ,
6- "lib" : [" ES2019 " ],
7- "target" : " ES2019 " ,
6+ "lib" : [" ES2020 " ],
7+ "target" : " ES2020 " ,
88 "declaration" : true ,
9+ "skipLibCheck" : true ,
910
1011 /* Imports */
1112 "moduleResolution" : " node" , // Allow `index` imports
You can’t perform that action at this time.
0 commit comments