Webpack Plugin: exclude from recompile -
when writing webpack plugin, exclude recompilation during dev server watch recompilations if it's watched fileset not change.
to specific, contributing webpack-webfont plugin. plugin has known issue fires during compilation, generating output files (fonts, .scss files). these files watched, , webpack forces recompile. recompile goes beginning, generating new files, , kicking off recompile... infinitely.
what best practice/pattern in webpack disallow recompile or exclude plugin compilation loop when file set hasn't changed?
Comments
Post a Comment