Skip to content

Adding getDefaultConfig function to core #750

New issue

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

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

Already on GitHub? # to your account

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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants