discourse/app/assets/javascripts/discourse-plugins
David Taylor e330a596f5
DEV: Correct plugin-compilation connector template module path (#19165)
Some plugins store their connectors under `{plugin}/assets/javascripts/templates/connectors`, which is read as `templates/connectors` relative to the base of the JS directory. Our connector checking logic was looking for strings including the leading slash (`/templates`), which not be the case here. Instead we can split on `/` and take the last element. This matches the logic we have for themes in https://github.com/discourse/discourse/blob/1dadf4381f/lib/theme_javascript_compiler.rb#L111

This wasn't actually breaking anything, so this is just a housekeeping commit.
2022-11-23 17:57:59 +00:00
..
colocated-template-compiler.js DEV: Improve colocated component rootName logic (#18708) 2022-10-21 20:20:46 +01:00
index.js DEV: Correct plugin-compilation connector template module path (#19165) 2022-11-23 17:57:59 +00:00
package.json DEV: Make bootstrap-json a monorepo package (#19048) 2022-11-16 11:58:10 +01:00