You added a grunt autoprefixer command, which adds CSS vendor prefixes like -webkit-and -mozto CSS files generated by the setup:static-content:deploy command.
After deployment you still see CSS files without prefixes.
The hooks section in the .magento.app.yaml file is:
hooks:
build: |
npm install
grunt autoprefixer
php ./vendor/bin/ece-tools build:generate
php ./vendor/bin/ece-tools build:transfer
deploy: |
php ./vendor/bin/ece-tools deploy
Considering static assets are being generated on the build phase, why are CSS prefixes missing?
A . Custom commands can be run only on the deploy phase
B . CSS vendor prefixes must be added to CSS files locally and committed as part of a theme
C . The static assets were not generated yet when the grunt command ran
D . The custom command was run before static assets were transferred into the init directory
Answer: B