Sha256: 580ff4ea535cfd3358732e0ebcb89bb2871a7a4d15aeff551bb86112edc00c8f
Contents?: true
Size: 555 Bytes
Versions: 18
Compression:
Stored size: 555 Bytes
Contents
# frozen_string_literal: true # 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..." cmd = "cd client && #{ReactOnRails.configuration.npm_build_test_command}" ReactOnRails::Utils.invoke_and_exit_if_failed(cmd, "Error in building webpack assets!") puts "Completed building Webpack assets." end end end end
Version data entries
18 entries across 18 versions & 1 rubygems