rollup
rollup copied to clipboard
build the project to another repo
Hey there! Is there a way to build and push my project from current repository to another repository?
For example I have this rollup config:
import typescript from "@rollup/plugin-typescript";
import { nodeResolve } from "@rollup/plugin-node-resolve";
import commonjs from "@rollup/plugin-commonjs";
export default {
input: "src/app/index.ts",
output: [
{
// in this place should be a link to an external repo
//(e.g. https://github.com/my-app/tmp/index.js)
file: "tmp/index.js",
},
],
plugins: [typescript(), nodeResolve(), commonjs()],
};
I'll be glad for any advices please