discourse/lib/plugin
Robin Ward 7b4fdebbce
FEATURE: Plugin support for transpiling regular .js files (#9398)
This adds support for a new piece of metadata to your plugin.rb
files. If you add:

```
transpile_js: true
```

Then Discourse will support transpilation of assets in your
`assets/javascripts` directory. Previously they had to be named
`.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.
2020-04-13 15:05:46 -04:00
..
filter_manager.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
filter.rb DEV: Upgrading Discourse to Zeitwerk (#8098) 2019-10-02 14:01:53 +10:00
instance.rb FEATURE: Plugin support for transpiling regular .js files (#9398) 2020-04-13 15:05:46 -04:00
metadata.rb FEATURE: Plugin support for transpiling regular .js files (#9398) 2020-04-13 15:05:46 -04:00