mirror of
https://codeberg.org/demostf/frontend.git
synced 2026-06-03 10:14:13 +02:00
filterbar wip
This commit is contained in:
parent
10ea8ddcbc
commit
e5c9aeb7fe
15 changed files with 1905 additions and 420 deletions
1263
build/Cargo.lock
generated
1263
build/Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -3,23 +3,32 @@ name = "demostf-build"
|
|||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
||||
[[bin]]
|
||||
path = "src/bundle_script.rs"
|
||||
name = "script"
|
||||
|
||||
[dependencies]
|
||||
tracing-subscriber = "0.3.16"
|
||||
lightningcss = { version = "1.0.0-alpha.40", features = ["browserslist", "visitor"] }
|
||||
base64 = "0.21.0"
|
||||
urlencoding = "2.1.2"
|
||||
const-fnv1a-hash = "1.1.0"
|
||||
swc = "0.259.6"
|
||||
swc_common = { version = "0.30.5", features = ["tty-emitter"] }
|
||||
swc_bundler = "0.212.5"
|
||||
swc_ecma_loader = "0.42.5"
|
||||
swc_ecma_ast = "0.102.5"
|
||||
swc_atoms = "0.4.43"
|
||||
swc_ecma_parser = { version = "0.132.6", features = ["typescript"] }
|
||||
swc_ecma_codegen = "0.137.6"
|
||||
swc_ecma_transforms_base = "0.125.1"
|
||||
swc_ecma_transforms_typescript = "0.175.4"
|
||||
swc_ecma_visit = "0.88.5"
|
||||
swc_common = { version = "0.30.5", features = ["tty-emitter", "concurrent"], path = "../../../rust/swc/crates/swc_common" }
|
||||
#swc_bundler = "0.212.5"
|
||||
swc_bundler = { version = "0.212.5", path = "../../../rust/swc/crates/swc_bundler" }
|
||||
#swc_ecma_loader = "0.42.5"
|
||||
swc_ecma_loader = { version = "0.42.5", path = "../../../rust/swc/crates/swc_ecma_loader", features = ["node", "cache"] }
|
||||
swc_ecma_ast = { version = "0.102.5", path = "../../../rust/swc/crates/swc_ecma_ast" }
|
||||
swc_atoms = { version = "0.4.43", path = "../../../rust/swc/crates/swc_atoms" }
|
||||
swc_ecma_parser = { version = "0.132.6", features = ["typescript"], path = "../../../rust/swc/crates/swc_ecma_parser" }
|
||||
swc_ecma_codegen = { version = "0.137.6", path = "../../../rust/swc/crates/swc_ecma_codegen" }
|
||||
swc_ecma_transforms_base = { version = "0.125.1", path = "../../../rust/swc/crates/swc_ecma_transforms_base" }
|
||||
swc_ecma_transforms_typescript = { version = "0.175.4", path = "../../../rust/swc/crates/swc_ecma_transforms_typescript" }
|
||||
swc_ecma_visit = { version = "0.88.5", path = "../../../rust/swc/crates/swc_ecma_visit" }
|
||||
anyhow = "1.0.70"
|
||||
jsx-dom-expressions = { version = "0.1", git = "https://github.com/icewind1991/swc-plugin-jsx-dom-expressions" }
|
||||
#jsx-dom-expressions = { version = "0.1", path = "../../../rust/swc-plugin-jsx-dom-expressions" }
|
||||
#jsx-dom-expressions = { version = "0.1", git = "https://github.com/icewind1991/swc-plugin-jsx-dom-expressions" }
|
||||
jsx-dom-expressions = { version = "0.1", path = "../../../rust/swc-plugin-jsx-dom-expressions" }
|
||||
|
||||
|
|
|
|||
11
build/src/bundle_script.rs
Normal file
11
build/src/bundle_script.rs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
use std::env::args;
|
||||
|
||||
mod script;
|
||||
|
||||
fn main() {
|
||||
tracing_subscriber::fmt::init();
|
||||
|
||||
let path = args().skip(1).next().unwrap();
|
||||
let output = script::bundle_script(&path);
|
||||
// println!("{output}")
|
||||
}
|
||||
|
|
@ -156,7 +156,7 @@ impl Load for Loader {
|
|||
.fold_with(&mut strip(top_level_mark))
|
||||
.fold_with(&mut as_folder(TransformVisitor::new(
|
||||
jsx_dom_expressions::config::Config {
|
||||
module_name: "solid-js/web/dist/web.js".to_string(),
|
||||
module_name: "solid-js/web".to_string(),
|
||||
builtins: vec![
|
||||
"For".into(),
|
||||
"Show".into(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue