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

php - Embed BBCode within itself not working -

three.js - how to load gltf in three JS -

sql server - T-SQL: Access DB objects in same schema without qualifying? -