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:
@@ -61,7 +61,6 @@
|
|||||||
"typescript-transform-paths": "^3.3.1",
|
"typescript-transform-paths": "^3.3.1",
|
||||||
"unplugin-auto-import": "^0.4.12",
|
"unplugin-auto-import": "^0.4.12",
|
||||||
"vite": "^2.6.10",
|
"vite": "^2.6.10",
|
||||||
"vite-plugin-css-injected-by-js": "^1.0.1",
|
|
||||||
"vite-svg-loader": "^2.2.0",
|
"vite-svg-loader": "^2.2.0",
|
||||||
"vue": "^3.2.21",
|
"vue": "^3.2.21",
|
||||||
"vue-router": "^4.0.12",
|
"vue-router": "^4.0.12",
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ import svgLoader from 'vite-svg-loader'
|
|||||||
import AutoImport from 'unplugin-auto-import/vite'
|
import AutoImport from 'unplugin-auto-import/vite'
|
||||||
import replace from '@rollup/plugin-replace'
|
import replace from '@rollup/plugin-replace'
|
||||||
import copy from 'rollup-plugin-copy'
|
import copy from 'rollup-plugin-copy'
|
||||||
import injectCss from 'vite-plugin-css-injected-by-js'
|
|
||||||
import pkg from './package.json'
|
import pkg from './package.json'
|
||||||
|
|
||||||
// https://vitejs.dev/config/
|
// https://vitejs.dev/config/
|
||||||
@@ -58,7 +57,6 @@ export default defineConfig({
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
injectCss(),
|
|
||||||
],
|
],
|
||||||
optimizeDeps: {
|
optimizeDeps: {
|
||||||
include: ['vue', '@vueuse/core'],
|
include: ['vue', '@vueuse/core'],
|
||||||
|
|||||||
Reference in New Issue
Block a user