T
T
TRUEC0DER2021-06-29 19:11:00
Node.js
TRUEC0DER, 2021-06-29 19:11:00

How to make code file ignored?

There is a pkg module for NodeJS that compiles the source code, but there is a problem - it compiles everything that is specified in the main file via require. I need to make one file ignored, but not remove its loading from the code. How can you do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrei Alisenok, 2021-06-29
@alinax

add a .gitignore file and write exceptions in it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question