Skip to content

Commit

Permalink
Upgrade: babel/polyfill => @babel/polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
aladdin-add committed Feb 10, 2019
1 parent d0edfee commit 0c422f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile.js
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,7 @@ target.browserify = function() {
exec(`${getBinFile("browserify")} -r espree -o ${TEMP_DIR}espree.js --global-transform [ babelify --presets [ @babel/preset-env ] ]`);

// 4. Concatenate Babel polyfill, Espree, and ESLint files together
cat("./node_modules/babel-polyfill/dist/polyfill.js", `${TEMP_DIR}espree.js`, `${BUILD_DIR}eslint.js`).to(`${BUILD_DIR}eslint.js`);
cat("./node_modules/@babel/polyfill/dist/polyfill.js", `${TEMP_DIR}espree.js`, `${BUILD_DIR}eslint.js`).to(`${BUILD_DIR}eslint.js`);

// 5. remove temp directory
rm("-rf", TEMP_DIR);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/polyfill": "^7.2.5",
"@babel/preset-env": "^7.3.1",
"babel-polyfill": "^6.26.0",
"babelify": "^10.0.0",
"beefy": "^2.1.8",
"brfs": "^2.0.0",
Expand Down

0 comments on commit 0c422f9

Please sign in to comment.