Skip to content

Commit

Permalink
Updated rollup dependency (#295)
Browse files Browse the repository at this point in the history
Updated rollup
Removed rollup-plugin-babel
Installed @rollup/plugin-babel
  • Loading branch information
laurenhitchon authored Apr 19, 2023
1 parent 51d0bf0 commit 74c1e6f
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 51 deletions.
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const dynamicCollections = require('metalsmith-dynamic-collections')
const discoverHelpers = require('metalsmith-discover-helpers')
const rollup = require('gulp-better-rollup')
const sitemap = require('gulp-sitemap')
const babel = require('rollup-plugin-babel')
const babel = require('@rollup/plugin-babel')
const eslint = require('gulp-eslint-new')
const gulpStylelint = require('gulp-stylelint')
const replace = require('gulp-replace')
Expand Down Expand Up @@ -225,7 +225,7 @@ function compileJS() {
.pipe(
rollup(
{
plugins: [babel()],
plugins: [babel({ babelHelpers: 'bundled' })],
},
{
name: 'NSW',
Expand Down
108 changes: 61 additions & 47 deletions package-lock.json

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

9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"devDependencies": {
"@babel/core": "^7.21.4",
"@babel/preset-env": "^7.21.4",
"@rollup/plugin-babel": "^6.0.3",
"auto-changelog": "^2.4.0",
"autoprefixer": "^9.7.5",
"browser-sync": "^2.29.1",
Expand Down Expand Up @@ -86,14 +87,18 @@
"metalsmith-register-helpers": "^0.4.1",
"postcss-normalize": "^10.0.1",
"redrun": "^10.0.2",
"rollup": "^1.32.1",
"rollup-plugin-babel": "^4.4.0",
"rollup": "^3.20.6",
"sass": "^1.62.0",
"stylelint": "^13.2.1",
"stylelint-config-sass-guidelines": "^7.0.0",
"stylelint-declaration-use-variable": "^1.7.3",
"stylelint-order": "^4.0.0",
"stylelint-scss": "^3.16.0",
"yargs": "^15.3.1"
},
"overrides": {
"gulp-better-rollup": {
"rollup": "^1||^2||^3"
}
}
}

0 comments on commit 74c1e6f

Please sign in to comment.