The 'MinifyRelease' not support 'class'

Version: 1.68
Problem: I am currently writing a File in the Source folder,I know that cesium currently supports es6, so I use ‘class’ ‘const’ and so on. But when I do ‘npm run minifyRelease’, the log shows ‘^ Unexpected token: name «FineModelManager», expected: punc «;»’,

Is it because cesium doesn’t support so much syntax yet? If I want to use it, could you give me some advice? Thank you very much!