mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
DEV: Add the missing app
subdirectory (#9499)
* DEV: Add missing directory to the Discourse ember app * DEV: Resolve imports correctly
This commit is contained in:
@ -161,7 +161,8 @@ JS
|
||||
path = "discourse/plugins/#{plugin.name}/#{logical_path.sub(/javascripts\//, '')}" if plugin
|
||||
end
|
||||
|
||||
path || logical_path
|
||||
# We need to strip the app subdirectory to replicate how ember-cli works.
|
||||
path || logical_path&.gsub('app/', '')
|
||||
end
|
||||
|
||||
end
|
||||
|
Reference in New Issue
Block a user