Skip to content

Commit

Permalink
Don't use externalised babel helpers (#108)
Browse files Browse the repository at this point in the history
* Don't use externalised babel helpers

* npm version 1.3.1

---------

Co-authored-by: jeff-horton-ho-sas <jeff-horton-ho-sas@users.noreply.github.com>
  • Loading branch information
jeff-horton-ho-sas and jeff-horton-ho-sas authored Dec 30, 2024
1 parent 90503f0 commit f9877bd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 33 deletions.
30 changes: 2 additions & 28 deletions package-lock.json

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

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ukhomeoffice/react-components",
"version": "1.3.0",
"version": "1.3.1",
"description": "React components for Home Office layouts and elements",
"main": "dist/ho-react-components.js",
"module": "dist/ho-react-components.module.js",
Expand All @@ -9,7 +9,7 @@
"pretest:unit-built": "npm run build",
"test": "npm run test:unit",
"lint": "eslint . --ext jsx,js",
"test:unit": "npm run test:unit-source",
"test:unit": "npm run test:unit-source && npm run test:unit-built",
"test:unit-built": "jest --config scripts/jest/config.build.mjs",
"test:unit-source": "jest --config scripts/jest/config.source.mjs",
"test:watch": "npm run test:unit-source -- --watch",
Expand Down Expand Up @@ -41,7 +41,6 @@
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/eslint-plugin": "^7.25.9",
"@babel/plugin-external-helpers": "^7.25.9",
"@babel/plugin-transform-runtime": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.26.3",
Expand Down
3 changes: 1 addition & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ export default {
}),
babel({
exclude: 'node_modules/**',
plugins: ['@babel/plugin-external-helpers'],
babelHelpers: 'external',
babelHelpers: 'bundled',
}),
terser({
sourceMap: true
Expand Down

0 comments on commit f9877bd

Please sign in to comment.