lib/sewing_kit/webpack/webpack.rb in sewing_kit-0.27.3 vs lib/sewing_kit/webpack/webpack.rb in sewing_kit-0.28.0
- old
+ new
@@ -8,10 +8,10 @@
module Webpack
# Raised if the node sewing-kit isn't installed/runnable.
class NodeSewingKitNotRunnable < StandardError
def initialize(mode, cause = nil)
env_message = if 'development' == mode
- "Try `yarn add --dev @shopify/sewing-kit`"
+ "Try `yarn add @shopify/sewing-kit`"
else
"\nIf this is a container build, try:\n" \
" - Adding #{highlight('https://github.com/heroku/heroku-buildpack-nodejs')} to your " \
"#{highlight('.buildpacks')} file\n" \
" - Adding #{highlight('YARN_PRODUCTION=false')} to your pipeline's environment variables\n" \