File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- > # Test that plugins loaded via async vitePlugins() are applied during build
21> vp build
3- > cat dist/index.html | grep 'lazy-plugin-injected'
2+ > cat dist/index.html | grep 'lazy-plugin-injected' # async vitePlugins() should apply plugins during build
43 <!-- lazy-plugin-injected --></body>
Original file line number Diff line number Diff line change 11{
22 "commands" : [
3- " # Test that plugins loaded via async vitePlugins() are applied during build" ,
43 {
54 "command" : " vp build" ,
65 "ignoreOutput" : true
76 },
8- " cat dist/index.html | grep 'lazy-plugin-injected'"
7+ " cat dist/index.html | grep 'lazy-plugin-injected' # async vitePlugins() should apply plugins during build "
98 ]
109}
Original file line number Diff line number Diff line change 1- > # Test that plugins loaded via sync vitePlugins() are applied during build
21> vp build
3- > cat dist/index.html | grep 'sync-plugin-injected'
2+ > cat dist/index.html | grep 'sync-plugin-injected' # sync vitePlugins() should apply plugins during build
43 <!-- sync-plugin-injected --></body>
Original file line number Diff line number Diff line change 11{
22 "commands" : [
3- " # Test that plugins loaded via sync vitePlugins() are applied during build" ,
43 {
54 "command" : " vp build" ,
65 "ignoreOutput" : true
76 },
8- " cat dist/index.html | grep 'sync-plugin-injected'"
7+ " cat dist/index.html | grep 'sync-plugin-injected' # sync vitePlugins() should apply plugins during build "
98 ]
109}
You can’t perform that action at this time.
0 commit comments