Merge pull request #24460 from frappe/fix-app-path
fix(Build): reinit `app_path`, avoid `get_app_path`
This commit is contained in:
commit
56b85823ca
1 changed files with 1 additions and 1 deletions
|
|
@ -158,7 +158,7 @@ async function update_assets_json_from_built_assets(apps) {
|
|||
}
|
||||
|
||||
async function update_assets_obj(app, assets, assets_rtl) {
|
||||
const app_path = get_app_path(app);
|
||||
const app_path = path.join(apps_path, app, app);
|
||||
const dist_path = path.join(app_path, "public, dist");
|
||||
const files = await glob("**/*.bundle.*.{js,css}", { cwd: dist_path });
|
||||
const prefix = path.join("/", "assets", app, "dist");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue