Commit 2ed552bf authored by Andreas Knote's avatar Andreas Knote

use node install --dev-only as no real runtime dependencies exist

parent 8e0d3607
Pipeline #22476 passed with stage
in 15 minutes and 5 seconds
......@@ -8,10 +8,11 @@ require 'rake'
task :default => [:build]
task :build do
print 'Building HCI-Theme'
system 'npm install'
puts 'web-packing hci-theme'
system 'npm install --dev-only'
system 'npx webpack -p --config webpack.config.js --mode=production'
FileUtils.mkdir_p('_sass')
FileUtils.copy_entry 'node_modules/slick-carousel', '_sass/slick-carousel'
FileUtils.mkdir_p('assets/css/fonts')
FileUtils.copy_entry(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment