storytouch / ep_webpack

Etherpad plugin to bundle files using webpack
Apache License 2.0
3 stars 0 forks source link

[feat] Create symlink all.css -> all-[hash].css #10

Closed lpagliari closed 5 years ago

lpagliari commented 5 years ago

Allow other plugins to always see the latest CSS bundle -- create a symbolic link named "all.css" that points to the one created by webpack ("all-[hash].css").

This is only done when generated bundled file name contains the hash, obviously.