New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

karma-rollup-preprocessor

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

karma-rollup-preprocessor

A rollup preprocessor for Karma

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
62K
decreased by-2.28%
Maintainers
1
Weekly downloads
 
Created
Source

Build Status npm version npm downloads

karma-rollup-preprocessor

Preprocessor to bundle ES6 modules fly with rollup.

This preprocessor is mainly used to bundle your spec entry point but might be useful in other cases as well.

Installation

npm install karma-rollup-preprocessor --save-dev

Configuration

See rollup wiki for more details The rollupPreprocessor configuration is optional. (You'll need to install more dependencies)

module.exports = function (config) {
  config.set({
    preprocessors: {
      'test/main.js': ['rollup']
    },
    rollupPreprocessor: {
      plugins: [
        require('rollup-plugin-babel')({
          presets: [
            require('babel-preset-es2015-rollup')
          ]
        })
      ]
    }
  });
};

Keywords

FAQs

Package last updated on 09 Dec 2015

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc