Skip to content

Instantly share code, notes, and snippets.

@mathewtrivett
Last active January 11, 2021 08:12
Show Gist options
  • Save mathewtrivett/43e12b517c454ef4fdbbfeb64026a5aa to your computer and use it in GitHub Desktop.
Save mathewtrivett/43e12b517c454ef4fdbbfeb64026a5aa to your computer and use it in GitHub Desktop.
Testing Print CSS - config/webpacker.yml
# Note: You must restart bin/webpack-dev-server for changes to take effect
default: &default
# ....
# The rest of your webpacker.yml config
test:
<<: *default
# The rest of your test config
# **This is the important line**
# Extract and emit a css file
extract_css: true
production:
# Your production config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment