From c7581de1aa01536109a6513a0d010f79aaa97622 Mon Sep 17 00:00:00 2001 From: Jon Surrell Date: Tue, 10 Sep 2024 17:07:38 +0200 Subject: [PATCH] Use wpScriptModuleExports field --- packages/a11y/package.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/a11y/package.json b/packages/a11y/package.json index d1f454cf579e35..327d6b9ff07167 100644 --- a/packages/a11y/package.json +++ b/packages/a11y/package.json @@ -28,9 +28,7 @@ "module": "build-module/index.js", "react-native": "src/index", "types": "build-types", - "wp-script-module-exports": { - ".": "./build-module/module/index.js" - }, + "wpScriptModuleExports": "./build-module/module/index.js", "dependencies": { "@babel/runtime": "^7.16.0", "@wordpress/dom-ready": "file:../dom-ready",