Sha256: 53297ebe948924fa9b2f745e4443925a31a99e4346c86b531ee67c987846f79e

Contents?: true

Size: 268 Bytes

Versions: 2

Compression:

Stored size: 268 Bytes

Contents

module WebpackDriver

    class Compile < Process

        def initialize(config)
            config.environment ||= { NODE_ENV: 'production' }
            super('webpack', config)
        end

        def valid?
            !alive? && super
        end

    end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
webpack_driver-0.2.1 lib/webpack_driver/compile.rb
webpack_driver-0.2.0 lib/webpack_driver/compile.rb