class Webpack::Configuration
Attributes
cdn_host[RW]
@attribute cdn_host
[String]
extract_css[RW]
@attribute extract_css
[Boolean]
host[RW]
@attribute host [String]
port[RW]
@attribute port [Integer]
protocol[RW]
@attribute protocol [String]
public_path[RW]
@attribute public_path
[String]
static_path[RW]
@attribute static_path
[String]
use_server[RW]
@attribute use_server
[Boolean]
Public Instance Methods
validate!()
click to toggle source
# File lib/webpack/configuration.rb, line 27 def validate! fail 'Webpack public_path is not configured' unless public_path fail 'Webpack port is not configured' unless port || host end