diff options
Diffstat (limited to 'node_modules/core-js/build/build.ls')
-rw-r--r-- | node_modules/core-js/build/build.ls | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/node_modules/core-js/build/build.ls b/node_modules/core-js/build/build.ls index 0cf210de5..8cbe56ede 100644 --- a/node_modules/core-js/build/build.ls +++ b/node_modules/core-js/build/build.ls @@ -2,7 +2,7 @@ require! { '../library/fn/promise': Promise './config': {list, experimental, libraryBlacklist, es5SpecialCase, banner} fs: {readFile, writeFile, unlink} - path: {join} + path: {basename, dirname, join} webpack, temp } @@ -30,8 +30,8 @@ module.exports = ({modules = [], blacklist = [], library = no, umd = on})-> if library => join __dirname, '..', 'library', 'modules', it else join __dirname, '..', 'modules', it output: - path: '' - filename: TARGET + path: dirname TARGET + filename: basename "./#TARGET" if err => return reject err err, script <~! readFile TARGET |