Skip to content

Commit

Permalink
Merge pull request #5 from rollup-umd/dev
Browse files Browse the repository at this point in the history
fix(createConfig): fixing wrong import for default Wrapper and StyleG…
  • Loading branch information
kopax authored Dec 3, 2018
2 parents 2f3179b + feb0a32 commit ac9693f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ rollup.config.js
/reports
/*.tgz
/lib/**/*.md

/internals
4 changes: 2 additions & 2 deletions src/createConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ac9693f

Please sign in to comment.