Skip to content

Mocha compiler to allow for webpack-like importing of images

Notifications You must be signed in to change notification settings

petrunov/mocha-image-compiler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mocha Image Compiler

Compiler for Mocha to allow for webpack-like importing of images, i.e

var image = require('../images/logo.png');

Install

npm install --save-dev mocha-image-compiler

Usage

mocha --compilers .:mocha-image-compiler

if using babel as well, you can specify multiple compilers

mocha --compilers js:babel/register,.:mocha-image-compiler

About

Mocha compiler to allow for webpack-like importing of images

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%