Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support running tests in webpack #38

Open
andywer opened this issue Sep 24, 2018 · 1 comment
Open

Support running tests in webpack #38

andywer opened this issue Sep 24, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@andywer
Copy link
Member

andywer commented Sep 24, 2018

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 andywer added the enhancement New feature or request label Sep 25, 2018
@dsseng
Copy link
Contributor

dsseng commented Dec 2, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants