This PR suggest a solution to handle multiple files in watcher mode. It tracks loaded files and checks whether a file was used on current watcher iteration.
Compiled css stored in a map that is updated on transform stage and is written into file on generateBundle stage.
Also some minor style changes
Node package 'fs' used prior to 'fs-extra' and 'mkdirp' (packgage.json and package-lock updated)
This PR suggest a solution to handle multiple files in watcher mode. It tracks loaded files and checks whether a file was used on current watcher iteration. Compiled css stored in a map that is updated on
transform
stage and is written into file ongenerateBundle
stage.Also some minor style changes
Node package 'fs' used prior to 'fs-extra' and 'mkdirp' (packgage.json and package-lock updated)