Skip to content
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

feat: upgrade vite dependencies to v4.1 #10337

Merged
merged 9 commits into from Feb 14, 2023
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/boilerplate-vue/package.json
Expand Up @@ -9,7 +9,7 @@
"e2e": "cypress run",
"e2e:ci": "cross-env HMR=none PORT=5071 start-server-and-test dev http://localhost:5071/__umi/api/status cypress:ci",
"e2e:open": "cypress open",
"preview": "max preview --port 6070",
"preview": "umi preview --port 6070",
"setup": "umi setup",
"start": "npm run dev"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/test-vitest/package.json
Expand Up @@ -11,7 +11,7 @@
},
"devDependencies": {
"@types/react-test-renderer": "^18.0.0",
"@vitejs/plugin-react": "1.2.0",
"@vitejs/plugin-react": "3.0.1",
"react-test-renderer": "^18.2.0",
"typescript": "^4.9.4",
"vitest": "^0.16.0"
Expand Down
3 changes: 3 additions & 0 deletions examples/vite-e2e/.umirc.ts
Expand Up @@ -5,4 +5,7 @@ export default {
alias: {
'@xx/utils': resolve('utils/index.ts'),
},
targets: {
ie: 11,
},
};
124,836 changes: 0 additions & 124,836 deletions packages/bundler-vite/compiled/@vitejs/plugin-legacy/186.index.cjs.js

This file was deleted.

@@ -0,0 +1,25 @@
exports.id = 569;
exports.ids = [569];
exports.modules = {

/***/ 8569:
/***/ (function(module) {

function webpackEmptyAsyncContext(req) {
// Here Promise.resolve().then() is used instead of new Promise() to prevent
// uncaught exception popping up in devtools
return Promise.resolve().then(function() {
var e = new Error("Cannot find module '" + req + "'");
e.code = 'MODULE_NOT_FOUND';
throw e;
});
}
webpackEmptyAsyncContext.keys = function() { return []; };
webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;
webpackEmptyAsyncContext.id = 8569;
module.exports = webpackEmptyAsyncContext;

/***/ })

};
;