Skip to content

Commit

Permalink
Added optional chaining parser for old browser compatibility (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcdap authored Jan 26, 2023
1 parent a2856a4 commit 5b4ecd1
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 14 deletions.
7 changes: 6 additions & 1 deletion lib/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,12 @@ module.exports = {
{
loader: 'babel-loader',
options: {
presets: ['@babel/preset-env'],
presets: [
'@babel/preset-env',
],
plugins: [
"@babel/plugin-proposal-optional-chaining",
]
}
}
]
Expand Down
27 changes: 15 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@netzstrategen/gulp-task-collection",
"version": "4.1.3",
"version": "4.1.4",
"title": "Gulp task collection",
"description": "A collection of gulp tasks.",
"license": "MIT",
Expand All @@ -10,6 +10,7 @@
"dependencies": {
"@babel/core": "^7.20.5",
"@babel/preset-env": "^7.20.2",
"@babel/plugin-proposal-optional-chaining": "^7.20.7",
"@netzstrategen/twig-asset": "^1.0.1",
"del": "^3.0.0",
"gulp": "^4.0.2",
Expand Down

0 comments on commit 5b4ecd1

Please sign in to comment.