diff --git a/package.json b/package.json index 99589a68..271be6a5 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-vue": "^7.20.0", "prettier": "^2.5.1", - "vite": "^2.7.8", + "vite": "^2.7.9", "vite-plugin-pwa": "^0.11.12", "vite-plugin-windicss": "^1.6.1" }, diff --git a/vite.config.js b/vite.config.js index da80814b..4f548638 100644 --- a/vite.config.js +++ b/vite.config.js @@ -20,4 +20,7 @@ export default defineConfig({ "@": path.resolve(__dirname, "./src"), }, }, + build: { + sourcemap: true, + }, }); diff --git a/yarn.lock b/yarn.lock index 5034c192..da823fd2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3145,10 +3145,10 @@ vite-plugin-windicss@^1.6.1: kolorist "^1.5.1" windicss "^3.4.2" -vite@^2.7.8: - version "2.7.10" - resolved "https://registry.yarnpkg.com/vite/-/vite-2.7.10.tgz#d12c4c10e56a0ecf7890cb529c15996c6111218f" - integrity sha512-KEY96ntXUid1/xJihJbgmLZx7QSC2D4Tui0FdS0Old5OokYzFclcofhtxtjDdGOk/fFpPbHv9yw88+rB93Tb8w== +vite@^2.7.9: + version "2.7.9" + resolved "https://registry.yarnpkg.com/vite/-/vite-2.7.9.tgz#c72d8817cdddbb127daed0c8f87fbca4e7754a81" + integrity sha512-CyopIJIRrc26Wnbkch5BCHFhQodzeV4jjSegLAEw1RImvXSuoOo2SfpEW9zRVi188WmjJwCqCaoG25C0r4nekw== dependencies: esbuild "^0.13.12" postcss "^8.4.5"