Sha256: 4e6f7f1bc265f253cb4916bbb0c5eccff9c42b57cf2312ad4547d6fcf0b82700

Contents?: true

Size: 402 Bytes

Versions: 1

Compression:

Stored size: 402 Bytes

Contents

#!/usr/bin/env node
// @flow
'use strict';

const railsRoot = process.argv[2];

const hauler = require('hauler');
const env = hauler.getEnvName();

const devServerConfig = hauler.getDevServerConfig(env, railsRoot);
const compilerConfig = hauler.getCompilerConfig(env, railsRoot);
const config = { devServerConfig, compilerConfig };
const output = JSON.stringify(config);

process.stdout.write(output);

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hauler-0.2.0 bin/read-config.js