Existing JS module import into ES6 plugin

This is an example of plugin that modifies post cooking:

https://github.com/discourse/discourse/blob/master/plugins/poll/assets/javascripts/lib/discourse-markdown/poll.js.es6

4 Likes