DEV: Transpile all plugin js by default (#17175)

Goodbye `# transpile_js: true`? 🙂
This commit is contained in:
Jarek Radosz
2022-06-21 22:07:10 +02:00
committed by GitHub
parent 9cb9d1105e
commit 624c684d51
9 changed files with 8 additions and 24 deletions

View File

@@ -3,7 +3,7 @@
root_path = "#{File.dirname(p.path)}/test/javascripts"
to_glob = [root_path + '/**/**.es6']
to_glob << (root_path + '/**/**.js') if p.transpile_js
to_glob << (root_path + '/**/**.js')
Dir.glob(to_glob) { |f| require_asset(f) }
end