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 0565edd commit bf8ac74
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 @@ -24,11 +24,11 @@
},
"dependencies": {
"@scratch/paper": "0.11.20221201200345",
"@turbowarp/nanolog": "^0.1.0",
"classnames": "2.2.5",
"keymirror": "0.1.1",
"lodash.bindall": "4.4.0",
"lodash.omit": "4.5.0",
"minilog": "3.1.0",
"parse-color": "1.0.0",
"prop-types": "^15.5.10"
},
Expand Down
6 changes: 3 additions & 3 deletions src/log/log.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import minilog from 'minilog';
minilog.enable();
import nanolog from '@turbowarp/nanolog';
nanolog.enable();

export default minilog('scratch-paint');
export default nanolog('scratch-paint');
1 change: 0 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ module.exports = [
// For use as a library
defaultsDeep({}, base, {
externals: {
'minilog': 'minilog',
'prop-types': 'prop-types',
'react': 'react',
'react-dom': 'react-dom',
Expand Down

0 comments on commit bf8ac74

Please sign in to comment.