You added a grunt autoprefixer command, which adds CSS vendorprefix like webkit- and moz- to CSS files generated by the setup:static-connect: deploy command.
After deployment you still see CSS files without prefixes. The hooks section in the .magento. app. Yaml file is:
Considering static assets are being generated on the build phase why are CSS prefixes missing?
- Custom commands can be run only on the deploy phase
- CSS vendor prefixes must be added to CSS files locally and committed as part of a theme
- The static assets were not generated yet when the grunt command ran
- The custom command was run before static assets were transferred into the init directory
Reveal Solution Next Question