Option --yul-optimizations is only valid in compiler and assembler modes.