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:
1 parent
eabff453cd
commit
88f8077b77
1 file changed
+2
@@ -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 = [
|
||||
|
||||
Reference in new issue
Block a user