Skip to content

Commit

Permalink
FIX: Allow JS transpilation
Browse files Browse the repository at this point in the history
  • Loading branch information
eviltrout committed Mar 25, 2020
1 parent 661aebd commit 6d12638
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/assets/stylesheets/common/base/onebox.scss
Expand Up @@ -15,6 +15,7 @@ a.loading-onebox {
}
}

// test
.onebox-result {
@include post-aside;

Expand Down
2 changes: 1 addition & 1 deletion app/models/theme_field.rb
Expand Up @@ -134,7 +134,7 @@ def process_extra_js(content)
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)
Expand Down

0 comments on commit 6d12638

Please sign in to comment.