Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
cypress-rollup-preprocessor
Advanced tools
Cypress preprocessor for bundling JavaScript via rollup
First install node.js. Then:
npm install cypress-rollup-preprocessor --save
This package relies on the following peer dependencies:
It is likely you already have these installed either directly or as a transient dependency, but if not, you will need to install them.
npm install --save-dev rollup
This version is only compatible with rollup 2.x+
In your project's plugins file:
const rollupPreprocessor = require("cypress-rollup-preprocessor");
module.exports = (on) => {
on("file:preprocessor", rollupPreprocessor());
};
Pass in options as the argument to rollup
:
const rollupPreprocessor = require("cypress-rollup-preprocessor");
module.exports = (on) => {
const options = {
// send in the options from your rollup.config.js, so it works the same
// as your app's code
rollupOptions: require("../../rollup.config"),
};
on("file:preprocessor", rollupPreprocessor(options));
};
Object of rollup options. Just require
in the options from your
rollup.config.js
to use the same options as your app.
Please read the Contributing guidelines.
We are using nodeunit to test. To run tests, first install nodeunit and any dependencies via npm:
npm install
Run tests with:
npm test
This project is licensed under the terms of the MIT license.
FAQs
Cypress preprocessor for bundling JavaScript via rollup
The npm package cypress-rollup-preprocessor receives a total of 17 weekly downloads. As such, cypress-rollup-preprocessor popularity was classified as not popular.
We found that cypress-rollup-preprocessor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.