rollup icon indicating copy to clipboard operation
rollup copied to clipboard

build the project to another repo

Open TangoPJ opened this issue 7 months ago • 1 comments

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

TangoPJ avatar Jul 17 '24 14:07 TangoPJ