Revert "FIX: Allow JS transpilation"

This reverts commit 6d1263812f.
This commit is contained in:
Robin Ward 2020-03-25 16:13:01 -04:00
parent 6d1263812f
commit a12c7fcb2f
2 changed files with 1 additions and 2 deletions

View File

@ -15,7 +15,6 @@ 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", "js"
when "js.es6"
js_compiler.append_module(content, filename)
when "hbs"
js_compiler.append_ember_template(filename.sub("discourse/templates/", ""), content)