Plugin JS files might be empty, need to handle that
Otherwise webassets will explode with empty file list on bundle creation.
This commit is contained in:
parent
eabff453cd
commit
88f8077b77
1 changed files with 2 additions and 0 deletions
|
|
@ -1058,6 +1058,8 @@ class Server(object):
|
|||
"js/app/helpers.js",
|
||||
"js/app/main.js"]
|
||||
js_plugins = dynamic_plugin_assets["external"]["js"]
|
||||
if len(js_plugins) == 0:
|
||||
js_plugins = ["empty"]
|
||||
js_app = js_plugins + js_core
|
||||
|
||||
css_libs = [
|
||||
|
|
|
|||
Loading…
Reference in a new issue