Why is wp_enqueue_style not working?

I figured out the problem. It was working all along. The site I’m working on had installed a plugin called ‘Autoptimize’ which will shove all your CSS into an inline <style> tag. I was trying to search the output HTML for a reference to my CSS file, but it wasn’t there, because this plugin was removing it!

tech