Skip to content

Commit

Permalink
Fix dschnelldavis#281: Remove duplicate ajv import
Browse files Browse the repository at this point in the history
Signed-off-by: Hamza Hamidi <[email protected]>
  • Loading branch information
hamzahamidi committed Jun 29, 2018
1 parent 03942ff commit 219adc5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ return Promise.resolve()
output: Object.assign({}, rollupBaseConfig.output, {
file: path.join(distFolder, `${libName}.es5.js`),
format: 'es',
intro: `import * as Ajv from 'ajv';\nimport * as _ from 'lodash';`
intro: `import * as _ from 'lodash';`
})
});

Expand All @@ -135,8 +135,7 @@ return Promise.resolve()
input: es2015Entry,
output: Object.assign({}, rollupBaseConfig.output, {
file: path.join(distFolder, `${libName}.js`),
format: 'es',
intro: `import * as Ajv from 'ajv';`
format: 'es'
})
});

Expand Down

0 comments on commit 219adc5

Please sign in to comment.