diff --git a/change/@fluentui-eslint-plugin-react-components-ebf76256-6575-4b9a-8421-7e5313769a7a.json b/change/@fluentui-eslint-plugin-react-components-ebf76256-6575-4b9a-8421-7e5313769a7a.json new file mode 100644 index 0000000000000..6a0f13945a36a --- /dev/null +++ b/change/@fluentui-eslint-plugin-react-components-ebf76256-6575-4b9a-8421-7e5313769a7a.json @@ -0,0 +1,7 @@ +{ + "type": "minor", + "comment": "Remove the ESM entrypoint in eslint-plugin package.json and change module type to commonjs.", + "packageName": "@fluentui/eslint-plugin-react-components", + "email": "ngo.trev.95@gmail.com", + "dependentChangeType": "patch" +} diff --git a/packages/react-components/eslint-plugin-react-components/package.json b/packages/react-components/eslint-plugin-react-components/package.json index 17b21c6d3819c..f061d3e9c3625 100644 --- a/packages/react-components/eslint-plugin-react-components/package.json +++ b/packages/react-components/eslint-plugin-react-components/package.json @@ -3,7 +3,7 @@ "version": "0.2.1", "description": "ESLint plugin and custom rules for Fluent UI components v9", "main": "./lib-commonjs/index.js", - "module": "./lib/index.js", + "type": "commonjs", "typings": "./dist/index.d.ts", "repository": { "type": "git", @@ -25,8 +25,8 @@ "exports": { ".": { "types": "./dist/index.d.ts", - "import": "./lib/index.js", - "require": "./lib-commonjs/index.js" + "require": "./lib-commonjs/index.js", + "default": "./lib-commonjs/index.js" }, "./package.json": "./package.json" },