DEV: debundle plugin css assets and don't load if disabled (#7646)

This commit is contained in:
Vinoth Kannan
2019-08-20 22:09:52 +05:30
committed by GitHub
parent 36425eb9f0
commit 5bd6b70d98
14 changed files with 76 additions and 52 deletions

View File

@ -36,8 +36,8 @@ class DiscoursePlugin
@registry.register_js(file, opts)
end
def register_css(file)
@registry.register_css(file)
def register_css(file, plugin_directory_name)
@registry.register_css(file, plugin_directory_name)
end
def register_archetype(name, options = {})