This adds support for a new piece of metadata to your plugin.rb files. If you add:
Then Discourse will support transpilation of assets in your
.js.es6 but now regular
.js will work.
Note this is opt-in because some plugins currently have
.js files in
app/assets that are not meant to be transpiled.
Going forward all plugins should migrate to this setting as they are comfortable able to do so.