From 0873d704d2ed156a040d554106721ac865fc22d4 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Mon, 6 Dec 2021 16:33:23 +0530 Subject: [PATCH] fix: reverting to old build system --- school/hooks.py | 4 ++-- school/public/build.json | 9 +++++++++ school/public/css/school.bundle.less | 2 -- 3 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 school/public/build.json delete mode 100644 school/public/css/school.bundle.less diff --git a/school/hooks.py b/school/hooks.py index c2ce9da0..2eca2010 100644 --- a/school/hooks.py +++ b/school/hooks.py @@ -19,9 +19,9 @@ app_license = "AGPL" # app_include_js = "/assets/school/js/school.js" # include js, css files in header of web template -web_include_css = "school.bundle.css" +#web_include_css = "school.bundle.css" # web_include_css = "/assets/school/css/school.css" -web_include_js = "website.bundle.js" +#web_include_js = "website.bundle.js" # include custom scss in every website theme (without file extension ".scss") # website_theme_scss = "school/public/scss/website" diff --git a/school/public/build.json b/school/public/build.json new file mode 100644 index 00000000..23490210 --- /dev/null +++ b/school/public/build.json @@ -0,0 +1,9 @@ +{ + "css/school.css": [ + "public/css/style.css" + ], + + "js/website.js": [ + "public/js/profile.js" + ] +} diff --git a/school/public/css/school.bundle.less b/school/public/css/school.bundle.less deleted file mode 100644 index f420befa..00000000 --- a/school/public/css/school.bundle.less +++ /dev/null @@ -1,2 +0,0 @@ - -@import "./style.css";