build tools: webpack with typescript and scss compilation

This commit is contained in:
realaravinth
2021-05-05 23:21:59 +05:30
parent 6069962d3e
commit 6184fe7efe
12 changed files with 1008 additions and 3357 deletions

View File

@@ -51,7 +51,7 @@ lazy_static! {
pub static ref SETTINGS: Settings = Settings::new().unwrap();
pub static ref S: String = env::var("S").unwrap();
pub static ref FILES: FileMap = FileMap::new();
pub static ref JS: &'static str = FILES.get("./static-assets/bundle/main.js").unwrap();
pub static ref JS: &'static str = FILES.get("./static-assets/bundle/bundle.js").unwrap();
pub static ref CSS: &'static str = FILES.get("./static-assets/bundle/main.css").unwrap();
}