Skip to content
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.

Disable option (alternative to bypassOnDebug) #156

Merged
merged 3 commits into from
May 31, 2018

Conversation

Eterion
Copy link
Contributor

@Eterion Eterion commented May 31, 2018

  • Added disable option (updated readme as well)
    Why? Basically just alternative to bypassOnDebug, because that option depends on webpack debug mode, which was deprecated in version 2 (https://stackoverflow.com/a/41779342). The new disable option doesn't. The disable option also seems to be the common way for other webpack loaders and plugins.

  • Replaced rm -rf with rimraf
    Why? Because rimraf is compatible with Windows, while rm -rf is not (at least not by default), this also caused test script to fail, but not with rimraf.

  • Added package-lock.json
    Why? It's automatically added by npm, from version 5 I think.

  • Updated imagemin dependencies
    Why? Why not?

@tcoopman tcoopman merged commit f864e8a into tcoopman:master May 31, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants