Module: Webpack::DevServer
- Defined in:
- lib/webpack/dev_server.rb,
lib/webpack/dev_server/proxy.rb,
lib/webpack/dev_server/process.rb,
lib/webpack/dev_server/configuration.rb
Defined Under Namespace
Classes: Configuration, Process, Proxy
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
10
11
12
|
# File 'lib/webpack/dev_server.rb', line 10
def config
@config ||= Configuration.new
end
|
6
7
8
|
# File 'lib/webpack/dev_server.rb', line 6
def configure
yield config
end
|
.process ⇒ Object
14
15
16
|
# File 'lib/webpack/dev_server.rb', line 14
def process
Webpack::DevServer::Process.new config.url, timeout: config.connect_timeout
end
|