Jasmine Webpack Plugin
A simple webpack plugin that creates a specRunner.html file for running Jasmine specs in the browser, e.g., for use with webpack-dev-server and hot module replacement for fast development.
Usage
In your webpack configuration:
// webpack-test.config.js var jasmineWebpackPlugin = ; moduleexports = entry: 'specRoot.js' // ... more configuration plugins: ;
Options
filename - output filename; defaults to _specRunner.html
Notes
Webpack doesn't support wildcards in config.entry. As a workaround to easily build and watch your spec files, you can provide something like this in your entry file:
// specRoot.js const requireAll = { requireContext; }; ;;
See require.context