Sha256: 69633745b9c171751860b2c5c246d65f6bd155d96f7fea7fa680a2ba7ee70bf7
Contents?: true
Size: 546 Bytes
Versions: 64
Compression:
Stored size: 546 Bytes
Contents
# You can replace this implementation with your own for use by the # ReactOnRails::TestHelper.ensure_assets_compiled helper module ReactOnRails module TestHelper class WebpackAssetsCompiler def compile_assets puts "\nBuilding Webpack assets..." build_output = `cd client && #{ReactOnRails.configuration.npm_build_test_command}` raise "Error in building assets!\n#{build_output}" unless Utils.last_process_completed_successfully? puts "Completed building Webpack assets." end end end end
Version data entries
64 entries across 64 versions & 1 rubygems