Stop loading directories in assets folder

in

app = dash.app(…)
i am using assets_ignore=‘.ignored.’,

However, i need to ignore 2 folders as well i.e. node_modules and styleguide. How can this be done?