diff --git a/.npmignore b/.npmignore index 4b44140..873fd3e 100644 --- a/.npmignore +++ b/.npmignore @@ -30,4 +30,4 @@ rollup.config.js /reports /*.tgz /lib/**/*.md - +/internals diff --git a/src/createConfig.js b/src/createConfig.js index f0ea44e..523cb1f 100644 --- a/src/createConfig.js +++ b/src/createConfig.js @@ -199,8 +199,8 @@ export function createConfig(config = {}, options = {}) { } // Local Layout and Wrapper in case no selection - const defaultStyleGuidePath = existsSync(join(__dirname, 'src/Layout')) ? join(__dirname, 'src/Layout') : join(__dirname, 'lib/Layout'); - const defaultWrapperPath = existsSync(join(__dirname, 'src/Wrapper')) ? join(__dirname, 'src/Wrapper') : join(__dirname, 'lib/Wrapper'); + const defaultStyleGuidePath = existsSync(join(__dirname, '../src/Layout')) ? join(__dirname, '../src/Layout') : join(__dirname, '../lib/Layout'); + const defaultWrapperPath = existsSync(join(__dirname, '../src/Wrapper')) ? join(__dirname, '../src/Wrapper') : join(__dirname, '../lib/Wrapper'); // External layout selection const {