Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding getDefaultConfig function to core #750

Merged
merged 1 commit into from
Nov 15, 2017

Conversation

raphaelokon
Copy link
Contributor

Addresses #749

Summary of changes:
Adding a (static) function to the patternlab core to allow users to obtain a default config object

@coveralls
Copy link

coveralls commented Nov 14, 2017

Coverage Status

Coverage increased (+0.04%) to 72.563% when pulling d892c4e on feature/749-default-config into c964462 on dev.

@bmuenzenmeyer
Copy link
Member

tested using

const patternlabModule = require('@pattern-lab/patternlab-node');
const config = patternlabModule.getDefaultConfig();
const patternlab = require('@pattern-lab/patternlab-node')(config);

...

perfect 👍

@bmuenzenmeyer bmuenzenmeyer merged commit 537ccbd into dev Nov 15, 2017
@bmuenzenmeyer bmuenzenmeyer deleted the feature/749-default-config branch November 15, 2017 09:24
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