shutter icon indicating copy to clipboard operation
shutter copied to clipboard

Support running tests in webpack

Open andywer opened this issue 7 years ago • 1 comments

Provide this as an opt-in feature after implementing #32:

Build testing code using webpack, so you can use css-loader, sass-loader, vue-loader, ... in your test code and your components.

Usage

npm install shutter shutter-webpack
npx shutter test --webpack

How to tell shutter about the webpack configuration: TBD.

Implementation (Research necessary)

Running webpack with target: "node" and extracting the stylesheets into a separate CSS file that can be submitted to shutter.sh should do the trick.

andywer avatar Sep 24 '18 18:09 andywer

Great idea! It will be very useful for many projects.

dsseng avatar Dec 02 '18 10:12 dsseng