From 7c028253be355f22ab4a1d115acb644d01edc138 Mon Sep 17 00:00:00 2001 From: Colin Rotherham Date: Thu, 29 Jun 2023 07:44:02 +0100 Subject: [PATCH] Change GitHub release JavaScript to ES modules --- packages/govuk-frontend/rollup.release.config.mjs | 13 ++++--------- .../govuk-frontend/tasks/build/release.test.mjs | 2 +- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/packages/govuk-frontend/rollup.release.config.mjs b/packages/govuk-frontend/rollup.release.config.mjs index 8537eb4a19..dad643d30c 100644 --- a/packages/govuk-frontend/rollup.release.config.mjs +++ b/packages/govuk-frontend/rollup.release.config.mjs @@ -2,14 +2,13 @@ import replace from '@rollup/plugin-replace' import terser from '@rollup/plugin-terser' import * as GOVUKFrontend from 'govuk-frontend/src/govuk/all.mjs' import { pkg } from 'govuk-frontend-config' -import { componentPathToModuleName } from 'govuk-frontend-lib/names' import { defineConfig } from 'rollup' /** * Rollup config for GitHub release * - * Universal Module Definition (UMD) bundle for browser