Skip to content

Conversation

@lance13c
Copy link
Collaborator

Added fixes and documentation to the build process.
Should be easier for others to contribute.

@lance13c lance13c requested a review from khanny17 February 26, 2017 20:11
Copy link
Owner

@khanny17 khanny17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The config things were correct already. Also, what's with the XML files? in the .idea folder?

// load up the user model
var User = require('../app/models/user');
var config = require('../config/config'); // get db config file
var config = require('../config/config.dev.js'); // get db config file
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So this isn't correct. In our source files we have config.dev.js. Gulp renames this to config.js. The reason for this is we will have multiple config files - for example, we might have config.prod.js. By specifying the environment when running gulp, it will automagically select the right configuration for what we want to use

lance13c added 2 commits March 2, 2017 18:36
temp remove sourcemapping
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants