Skip to content

Commit

Permalink
fix(okam): bin field lost in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
sorrycc committed Apr 25, 2024
1 parent df0e483 commit 6d09a3f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion crates/mako/src/generate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ impl Compiler {
.plugin_driver
.optimize_module_graph(module_graph.deref_mut(), &self.context)?;
let t_tree_shaking = t_tree_shaking.elapsed();
println!("basic optimize in {}ms.", t_tree_shaking.as_millis());
debug!("basic optimize in {}ms.", t_tree_shaking.as_millis());
}
Some(TreeShakingStrategy::Advanced) => {
// waiting @heden8 to come back
Expand Down
3 changes: 3 additions & 0 deletions packages/mako/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"version": "0.4.11",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"mako": "./bin/mako.js"
},
"napi": {
"name": "okam",
"triples": {
Expand Down

0 comments on commit 6d09a3f

Please sign in to comment.