File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -132,14 +132,14 @@ rendering chunks (1)...
132132vite-plugin-singlefile-compression 2.1.1 deflate-raw base128-ascii
133133
134134 file:///D:/code/js/vite-plugin-singlefile-compression/test/dist/index.html
135- 124.013 kB -> 50.408 kB
135+ 124.011 kB -> 50.33 kB
136136
137137Finish.
138138
139139computing gzip size...
140- dist/index.html 50.40 kB │ gzip: 43.93 kB
140+ dist/index.html 50.33 kB │ gzip: 43.89 kB
141141
142- ✓ built in 295ms
142+ ✓ built in 279ms
143143```
144144
145145![ ] ( effect.jpg )
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import MD from '@/md-vue/description.vue'
1212<style scoped>
1313h1 {
1414 /* font-weight: 500; */
15- font-size : 2.6 rem ;
15+ font-size : 34 px ;
1616 position : relative ;
1717 top : -10px ;
1818}
2727}
2828
2929@media (min-width : 1024px ) {
30+ h1 {
31+ /* font-size: 2.6rem; */
32+ }
33+
3034 .greetings h1 {
3135 margin-top : 0 ;
3236 }
Original file line number Diff line number Diff line change @@ -9,6 +9,9 @@ import singleFileCompression from 'vite-plugin-singlefile-compression'
99
1010// https://vite.dev/config/
1111export default defineConfig ( {
12+ server :{
13+ host : '0.0.0.0' ,
14+ } ,
1215 plugins : [
1316 vue ( ) ,
1417 vueDevTools ( ) ,
You can’t perform that action at this time.
0 commit comments