11ty / eleventy-plugin-vue

Use Vue.js templates and Vue.js single file components in Eleventy.
195 stars 11 forks source link

Vue component incremental builds (stage 2) #15

Closed zachleat closed 3 years ago

zachleat commented 3 years ago

If you modify a Vue component (not a Vue full template page) it does the correct behavior for Vue component incremental in the plugin but also does a full Eleventy build:

  1. It should only write the Vue files that used the component. 2. It should not do any passthrough copy this is a feature for Eleventy incremental

Related: #13 #14

zachleat commented 3 years ago

See options.input here: https://github.com/11ty/eleventy-plugin-vue#customize-with-options

I use this with the beforeWatch event and changedFiles https://www.11ty.dev/docs/events/#changed-files