revert: inject necessary styles directly to bundle

* Causes delayed stylings which gives a bad UE

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-11-17 09:49:26 +01:00
parent e9b3265c35
commit 872ad1d05b
2 changed files with 0 additions and 3 deletions
-1
View File
@@ -61,7 +61,6 @@
"typescript-transform-paths": "^3.3.1",
"unplugin-auto-import": "^0.4.12",
"vite": "^2.6.10",
"vite-plugin-css-injected-by-js": "^1.0.1",
"vite-svg-loader": "^2.2.0",
"vue": "^3.2.21",
"vue-router": "^4.0.12",
-2
View File
@@ -5,7 +5,6 @@ import svgLoader from 'vite-svg-loader'
import AutoImport from 'unplugin-auto-import/vite'
import replace from '@rollup/plugin-replace'
import copy from 'rollup-plugin-copy'
import injectCss from 'vite-plugin-css-injected-by-js'
import pkg from './package.json'
// https://vitejs.dev/config/
@@ -58,7 +57,6 @@ export default defineConfig({
},
],
}),
injectCss(),
],
optimizeDeps: {
include: ['vue', '@vueuse/core'],