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

minify - Minimizing css files -

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -