This only occurs on watch. Build works fine, but I think the target file kiln-plugins, gets replaced on watch with the content of the file that is changed. I think the compiler needs to build from the entry point of _kiln-plugins.js
To reproduce:
- pull https://github.com/nymag/sites/pull/7240
- run
npm run watch
- change any file under
services/kiln/plugins/media-picker/**/*.vue