Skip to content

Commit

Permalink
feature(chore): remove unused deps, remove critical wee_alloc (rustwa…
Browse files Browse the repository at this point in the history
  • Loading branch information
designervoid committed Mar 3, 2024
1 parent 2ee8a3d commit 9b2b1bc
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 61 deletions.
4 changes: 1 addition & 3 deletions registry/raw-rust-wasm/package.json
Expand Up @@ -15,10 +15,8 @@
"tailwindcss": "^3.3.6",
"typescript": "^5.0.2",
"vite": "^4.4.5",
"vite-plugin-rsw": "^2.0.11",
"vite-plugin-top-level-await": "^1.4.1",
"vite-plugin-wasm": "^3.3.0",
"vite-plugin-wasm-pack": "^0.1.12"
"vite-plugin-wasm": "^3.3.0"
},
"dependencies": {
"class-variance-authority": "^0.7.0",
Expand Down
52 changes: 0 additions & 52 deletions registry/raw-rust-wasm/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions registry/raw-rust-wasm/rust_wasm_module/src/lib.rs
Expand Up @@ -2,12 +2,6 @@ mod utils;

use wasm_bindgen::prelude::*;

// When the `wee_alloc` feature is enabled, use `wee_alloc` as the global
// allocator.
#[cfg(feature = "wee_alloc")]
#[global_allocator]
static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT;

#[wasm_bindgen]
extern {
fn alert(s: &str);
Expand Down

0 comments on commit 9b2b1bc

Please sign in to comment.