Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @workspace-builder/rollup-cjs with all npm packages installed. Try it out:

var rollupCjs = require("@workspace-builder/rollup-cjs")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@workspace-builder/rollup-cjs v0.2.0

@workspace-builder/rollup-cjs

This is a workspace builder module for workspace-builder.

It runs rollup in the workspace using src/index.js as the entrypoint, outputting a CommonJS module to dist/index.js. You can change the entrypoint and output path by using the rollupCjsEntry and rollupCjsOutput keys in your package.json.

If you have a rollup.config.js in the workspace or monorepo root, it will use it. If not, it will use a default config.

License

MIT

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free