Skip to content

Commit

Permalink
Replace minilog with nanolog
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Jan 14, 2024
1 parent d991a8d commit 3f0cbc4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 19 deletions.
20 changes: 6 additions & 14 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
},
"homepage": "https://github.com/TurboWarp/scratch-audio#readme",
"dependencies": {
"@turbowarp/nanolog": "^0.1.0",
"audio-context": "1.0.1",
"minilog": "^3.0.1",
"startaudiocontext": "1.2.1"
},
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions src/log.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const minilog = require('minilog');
minilog.enable();
const nanolog = require('@turbowarp/nanolog');
nanolog.enable();

module.exports = minilog('scratch-audioengine');
module.exports = nanolog('scratch-audioengine');
1 change: 0 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ module.exports = {
},
externals: {
'audio-context': true,
'minilog': true,
'startaudiocontext': true
}
};

0 comments on commit 3f0cbc4

Please sign in to comment.