Skip to content

Commit

Permalink
[#385] Fix rubocop warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sanG-github committed May 26, 2023
1 parent dbf0f3a commit 8a02143
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .template/variants/web/package.json.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@
'--no-source-map',
'--load-path=node_modules'
]
production_bundled_stylesheet_options = [
production_bundled_stylesheet_options = bundled_stylesheet_options + [
'--style=compressed'
]

run %(npm set-script build "node app/javascript/build.js")
run %(
npm set-script build:css \
"sass #{source_stylesheet} #{bundled_stylesheet} #{(bundled_stylesheet_options + production_bundled_stylesheet_options).join(' ')}"
"sass #{source_stylesheet} #{bundled_stylesheet} #{(production_bundled_stylesheet_options).join(' ')}"
)
run %(
npm set-script build:css-dev \
Expand Down

0 comments on commit 8a02143

Please sign in to comment.