You can write the !class - but don't do it first. For example: This will work -
.class-m1 { @apply h-1 !w-2.5; }
And this won't -
.class-m1 { @apply !w-2.5 h-1; }