mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 21:41:26 +08:00
DEV: Move discourse-common/(utils|lib)
to discourse/lib
(#30733)
`discourse-common` was created in the past to share logic between the 'wizard' app and the main 'discourse' app. Since then, the wizard has been consolidated into the main app, so the separation of `discourse-common` is no longer useful. This commit moves `discourse-common/(lib|utils)/*` into `discourse/lib/*`, adds shims for the imports, and updates existing uses in core.
This commit is contained in:
@ -223,8 +223,8 @@ class ThemeJavascriptCompiler
|
||||
#{source_for_comment}
|
||||
*/
|
||||
|
||||
import { template as compiler } from "discourse-common/lib/raw-handlebars";
|
||||
import { addRawTemplate } from "discourse-common/lib/raw-templates";
|
||||
import { template as compiler } from "discourse/lib/raw-handlebars";
|
||||
import { addRawTemplate } from "discourse/lib/raw-templates";
|
||||
|
||||
let template = compiler(#{compiled});
|
||||
|
||||
|
Reference in New Issue
Block a user