@stembord/config-bundler

config bundler

Usage no npm install needed!

<script type="module">
  import stembordConfigBundler from 'https://cdn.skypack.dev/@stembord/config-bundler';
</script>

README

ts-config-bundler

config bundler

config/
  config.production.js
  config.test.js
  config.js
const gulp = require("gulp"),
    configBundler = require("@stembord/config-bundler");

gulp.task("config", () =>
    gulp.src([
            path.join("config/config.*.js")),
            path.join("config/config.js"))
        ])
        .pipe(configBundler({
            options: {
                port: 8080
            }
        }))
        .pipe(gulp.dest("app/js"))
);