pack-node-modules

help to package node_modules locally when dependencies change.

Usage no npm install needed!

<script type="module">
  import packNodeModules from 'https://cdn.skypack.dev/pack-node-modules';
</script>

README

Description

help to package node_modules locally when dependencies change.

Usage

yarn add pack-node-modules

config prebuild script to package node_modules (if it's necessary) before running build script

{
  "scripts": {
    "prebuild": "packit",
    "build": "build.sh",
  }
}