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

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -