Description
Vue plugin compilation is somewhat broken in nymag/sites, due to some aspect of the browserify cache implementation. When compiling assets with claycli, files such as css/_kiln-plugins.css and js/_kiln-plugins.js will be not be completely compiled, often containing the assets for the .vue file that was most recently touched.
Steps to Reproduce
Steps to reproduce the behavior:
npm run build
- Modify a .vue file in
/services/kiln/plugins in sites
npm run build again
- See error (plugin associated with touched file will not load or render correctly, and
_kiln-plugins files in the compiled public directory will not contain the totality of kiln-plugin assets
Expected Behavior
When npm run build is executed, all kiln-plugin assets should be compiled to the public directory
Description
Vue plugin compilation is somewhat broken in nymag/sites, due to some aspect of the browserify cache implementation. When compiling assets with claycli, files such as
css/_kiln-plugins.cssandjs/_kiln-plugins.jswill be not be completely compiled, often containing the assets for the.vuefile that was most recently touched.Steps to Reproduce
Steps to reproduce the behavior:
npm run build/services/kiln/pluginsinsitesnpm run buildagain_kiln-pluginsfiles in the compiled public directory will not contain the totality of kiln-plugin assetsExpected Behavior
When
npm run buildis executed, all kiln-plugin assets should be compiled to the public directory