@@ -6,11 +6,12 @@ use vergen_gitcl::*;
66
77// These are touched during the build, so it would re-build every time if we
88// don't exclude them from change detection:
9- const EXCLUDE_LIST : [ & str ; 4 ] = [
9+ const EXCLUDE_LIST : [ & str ; 5 ] = [
1010 "../../js-packages/web-console/node_modules" ,
1111 "../../js-packages/web-console/build" ,
1212 "../../js-packages/web-console/.svelte-kit" ,
13- "../../js-packages/profiler-lib" ,
13+ "../../js-packages/profiler-lib/node_modules" ,
14+ "../../js-packages/profiler-lib/dist" ,
1415] ;
1516
1617/// The build script has two modes:
@@ -40,9 +41,9 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
4041 EXCLUDE_LIST
4142 . iter ( )
4243 . any ( |exclude| path. to_str ( ) . unwrap ( ) . starts_with ( exclude) )
43- // Also exclude web-console folder itself because we mutate things inside
44- // of it
44+ // Exclude web-console and profiler-lib dirs themselves because we mutate ignored dirs inside of them
4545 || path. to_str ( ) . unwrap ( ) == "../../js-packages/web-console/"
46+ || path. to_str ( ) . unwrap ( ) == "../../js-packages/profiler-lib/"
4647 } )
4748 . path ( "../../js-packages/web-console/" )
4849 . path ( "../../js-packages/profiler-lib/" )
0 commit comments