MF
One thing I've noticed. It seems you presume that the rollup is installed globally, as you have not included it in the dependencies. If rollup is not present globally, the npm run build doesn't work. If this helps somebody: Option 1 - npm install -g rollup Option 2 - npm install --save-dev rollup