FIX: Allow JS transpilation

This commit is contained in:
Robin Ward 2020-03-25 16:05:16 -04:00
parent 661aebdc87
commit 6d1263812f
2 changed files with 2 additions and 1 deletions

View File

@ -15,6 +15,7 @@ a.loading-onebox {
}
}
// test
.onebox-result {
@include post-aside;

View File

@ -134,7 +134,7 @@ class ThemeField < ActiveRecord::Base
filename, extension = name.split(".", 2)
begin
case extension
when "js.es6"
when "js.es6", "js"
js_compiler.append_module(content, filename)
when "hbs"
js_compiler.append_ember_template(filename.sub("discourse/templates/", ""), content)