Skip to content

ystskm/build-island

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

build-island

Manage intermediate process for TypeScript, CommonJS and Vanilla JS mixed environment
You can get a solution for some of defects/bugs in the internal loader of nodejs such as below:
(Case1) [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for ...
(Case2) require() of ES Module is not supported
(Case3) exports is not defined

Usage - for build child directory

    ...
    "script": {
      "build": "npx build-island b cmd/oips"
    },
    ...
    // => you can run a build safely which root directory is at "./cmd/oips" (child directory, package `type: "module"`)

About

Manage intermediate process for TypeScript, CommonJS and Vanilla JS mixed environment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published