-
Notifications
You must be signed in to change notification settings - Fork 1k
chore: Use Vite as main dev runner for FE #4230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,8 +9,7 @@ | |
"build:analyze": "NODE_ENV=production webpack --profile --progress --json --config=webpack.prod.ts > out/stats.json && webpack-bundle-analyzer out/stats.json out", | ||
"check:all": "yarn format:check && yarn lint && yarn test", | ||
"chromatic": "chromatic", | ||
"dev": "webpack-dev-server --config=webpack.dev.ts", | ||
"dev:vite": "vite", | ||
"dev": "vite", | ||
"format:check": "prettier --check '**/*.{css,html,js,json,jsx,md,ts,tsx,yaml,yml}'", | ||
"format:types": "prettier --write 'src/api/typesGenerated.ts'", | ||
"format:write": "prettier --write '**/*.{css,html,js,json,jsx,md,ts,tsx,yaml,yml}'", | ||
|
@@ -78,7 +77,6 @@ | |
}, | ||
"devDependencies": { | ||
"@playwright/test": "1.25.1", | ||
"@pmmmwh/react-refresh-webpack-plugin": "0.5.7", | ||
"@storybook/addon-actions": "6.5.9", | ||
"@storybook/addon-essentials": "6.5.12", | ||
"@storybook/addon-links": "6.5.9", | ||
|
@@ -136,8 +134,7 @@ | |
"typescript": "4.8.2", | ||
"webpack": "5.74.0", | ||
"webpack-bundle-analyzer": "4.6.1", | ||
Comment on lines
135
to
136
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we still need these? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is kinda used to analyze the build, but I don't think we use this anywhere I will remove this after just for caution. |
||
"webpack-cli": "4.10.0", | ||
"webpack-dev-server": "4.10.1" | ||
"webpack-cli": "4.10.0" | ||
}, | ||
"browserslist": [ | ||
"chrome 66", | ||
|
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we use Vite for production too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, but I have to run some experiments to check the build and build size.