How to disable all animation when using ionic in plain javascript?

I want to disable all the animation of the ionic components using ionic. I tried with:

import { setupConfig } from '/node_modules/@ionic/core/dist/esm/index.js';

  mode: 'md',
  animate: false

but it does not do anything. What is the correct way to do this?



Without knowing for sure if it helps but looking ar ionic core source - global part, there is this initialize function in core that initialises stuff

And I suspect that needs to run if you use import and likely it sets everything straight according to config

U doing that too?