Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Latest commit

 

History

History
40 lines (32 loc) · 606 Bytes

README.md

File metadata and controls

40 lines (32 loc) · 606 Bytes

IncludeJS

include JS files into another JS file.

Use the @include to include the JS file.

// somefile.js
const config = "JUSTACONFIG";

// base.js
@include("somefile.js");
console.log(config);

The result should be

// build.js
const config = "JUSTACONFIG";
console.log(config);

How to use

NodeJS

node include.js

or using nodemon to watch file changes inside src folder.

nodemon -w src -e js include.js

Python

Edit the include.py config.

python include.js

But why frozeeen, why?

Why not?