Skip to content

in2lag/karma-webpack-preprocessor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Preprocessor to compile Webpack files on the fly.

How to install?

npm install karma-webpack-preprocessor --save-dev

Configuration

// karma.conf.js
module.exports = function(config) {
  config.set({

    // ...

    files: [
      './app/**/*.spec.js',
    ],

    preprocessors: {
      ['./app/**/*.spec.js']: ['webpack'],
    },

    webpackPreprocessor: {
      configPath: './config/webpack'
    },

    /// ...

  })
}

About

A Karma plugin. Compile webpack files on the fly.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%