Update npm packages & add optional chaining

This commit is contained in:
Tamius Han 2020-01-28 23:11:15 +01:00
parent 0cbd62352e
commit f5f3e2754f
4 changed files with 1037 additions and 651 deletions

View File

@ -1,5 +1,6 @@
{
"plugins": [
"@babel/plugin-proposal-optional-chaining"
],
"presets": [
["@babel/preset-env", {

2294
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -29,30 +29,30 @@
"@types/core-js": "^2.5.0",
"@types/es6-promise": "^3.3.0",
"fs-extra": "^7.0.1",
"vue": "^2.5.17",
"vuex": "^3.0.1",
"vuex-webextensions": "^1.2.6"
"vue": "^2.6.11",
"vuex": "^3.1.2",
"vuex-webextensions": "^1.3.0"
},
"devDependencies": {
"@babel/core": "^7.1.2",
"@babel/plugin-proposal-optional-chaining": "^7.0.0",
"@babel/preset-env": "^7.1.0",
"@babel/core": "^7.8.3",
"@babel/plugin-proposal-optional-chaining": "^7.8.3",
"@babel/preset-env": "^7.8.3",
"archiver": "^3.0.0",
"babel-loader": "^8.0.2",
"babel-loader": "^8.0.6",
"copy-webpack-plugin": "^4.5.3",
"cross-env": "^5.2.0",
"css-loader": "^0.28.11",
"ejs": "^2.6.1",
"ejs": "^2.7.4",
"file-loader": "^1.1.11",
"mini-css-extract-plugin": "^0.4.4",
"node-sass": "^4.9.3",
"node-sass": "^4.13.1",
"sass-loader": "^7.1.0",
"vue-loader": "^15.4.2",
"vue-template-compiler": "^2.5.17",
"vue-loader": "^15.8.3",
"vue-template-compiler": "^2.6.11",
"web-ext-types": "^2.1.0",
"webpack": "^4.20.2",
"webpack": "^4.41.5",
"webpack-chrome-extension-reloader": "^0.8.3",
"webpack-cli": "^3.1.2",
"webpack-cli": "^3.3.10",
"webpack-shell-plugin": "^0.5.0"
}
}

View File

@ -60,6 +60,11 @@ const config = {
name: '[path][name].[ext]',
},
},
{
test: /\.js$/,
exclude: /node_modules/,
loader: "babel-loader"
},
],
},
plugins: [