T
T
tenaro2022-01-31 15:20:34
JavaScript
tenaro, 2022-01-31 15:20:34

How to remove console.log from node_modules?

vue-cli 4.5 / vue3
in one convenient library constantly climbs unnecessary stuff into the console, cleaning
it by hand is not an option - you need to remove
several webpack solutions that I found on the server, they cleaned the consoles in my code, and they didn’t look into node_modules what to do
?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey delphinpro, 2022-01-31
@delphinpro

Fork the package, clean it up and install your fork into the project.

D
davidnum95, 2022-01-31
@davidnum95

try making a patch via https://www.npmjs.com/package/patch-package

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question