Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

namecache and parallel to be used together #117

Open
masx200 opened this issue Aug 23, 2022 · 0 comments
Open

namecache and parallel to be used together #117

masx200 opened this issue Aug 23, 2022 · 0 comments

Comments

@masx200
Copy link

masx200 commented Aug 23, 2022

If you want namecache and parallel to be used together and you don't want to package twice after each change, you can only make namecache a concurrenthashmap.

if (result.nameCache) {

return minify(code, options).then(result => ({ result, nameCache: options.nameCache }));

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant