Skip to content

Commit

Permalink
Update to newest version of babel.
Browse files Browse the repository at this point in the history
  • Loading branch information
LearnWebCode committed Dec 12, 2017
1 parent 15c38fe commit ad090bc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
6 changes: 3 additions & 3 deletions fictional-university/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"license": "ISC",
"devDependencies": {
"autoprefixer": "6.7.7",
"babel-core": "6.24.0",
"babel-loader": "6.4.1",
"babel-preset-env": "1.6.1",
"@babel/core": "7.0.0-beta.34",
"@babel/preset-env": "7.0.0-beta.34",
"babel-loader": "8.0.0-beta.0",
"browser-sync": "2.18.8",
"gulp": "3.9.1",
"gulp-postcss": "6.4.0",
Expand Down
14 changes: 8 additions & 6 deletions fictional-university/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,16 @@ module.exports = {
filename: "scripts-bundled.js"
},
module: {
loaders: [
rules: [
{
loader: 'babel-loader',
query: {
presets: ['env']
},
test: /\.js$/,
exclude: /node_modules/
exclude: /node_modules/,
use: {
loader: 'babel-loader',
options: {
presets: ['@babel/preset-env']
}
}
}
]
}
Expand Down

0 comments on commit ad090bc

Please sign in to comment.