gwm-config
v0.1.1
Published
gulp-web-modules plugin used to copy build type specific config JSON to the base javascript file
Downloads
4
Maintainers
Readme
gulp-web-modules plugin used to copy build type specific config JSON to the base javascript file
Usage
Your config files should have the name {build type}.js in the config directory under the project root. The build type can be dev.json or production.json
{project root}
|-- config
|-- dev.json
|-- production.json
Install
Add this plugin to the gulp-web-module reference in your gulpfile
var gulpWebModules = require('gulp-web-modules'),
gwmConfig = require('gwm-config');
gulpWebModules({
plugins: [
gwmConfig()
]
}).injectTasks(gulp);