You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/feature-management-applicationinsights-browser/package.json
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,6 @@
3
3
"version": "2.2.0",
4
4
"description": "Feature Management Application Insights Plugin for Browser provides a solution for sending feature flag evaluation events produced by the Feature Management library.",
"description": "Feature Management Application Insights Plugin for Node.js provides a solution for sending feature flag evaluation events produced by the Feature Management library.",
5
-
"main": "./dist/commonjs/index.js",
6
-
"module": "./dist/esm/index.js",
7
-
"type": "module",
8
-
"types": "types/index.d.ts",
9
5
"files": [
10
6
"dist/",
11
7
"types/",
12
8
"LICENSE",
13
9
"README.md"
14
10
],
11
+
"exports": {
12
+
"./package.json": "./package.json",
13
+
".": {
14
+
"import": {
15
+
"types": "./types/index.d.ts",
16
+
"default": "./dist/esm/index.js"
17
+
},
18
+
"require": {
19
+
"types": "./types/index.d.ts",
20
+
"default": "./dist/commonjs/index.js"
21
+
}
22
+
}
23
+
},
15
24
"scripts": {
16
25
"build": "npm run link && npm run clean && rollup --config",
Copy file name to clipboardExpand all lines: src/feature-management/package.json
+13-4Lines changed: 13 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -2,16 +2,25 @@
2
2
"name": "@microsoft/feature-management",
3
3
"version": "2.2.0",
4
4
"description": "Feature Management is a library for enabling/disabling features at runtime. Developers can use feature flags in simple use cases like conditional statement to more advanced scenarios like conditionally adding routes.",
5
-
"main": "./dist/commonjs/index.js",
6
-
"module": "./dist/esm/index.js",
7
-
"type": "module",
8
-
"types": "types/index.d.ts",
9
5
"files": [
10
6
"dist/",
11
7
"types/",
12
8
"LICENSE",
13
9
"README.md"
14
10
],
11
+
"exports": {
12
+
"./package.json": "./package.json",
13
+
".": {
14
+
"import": {
15
+
"types": "./types/index.d.ts",
16
+
"default": "./dist/esm/index.js"
17
+
},
18
+
"require": {
19
+
"types": "./types/index.d.ts",
20
+
"default": "./dist/commonjs/index.js"
21
+
}
22
+
}
23
+
},
15
24
"scripts": {
16
25
"build": "npm run clean && rollup --config && npm run build-test",
17
26
"build-test": "npm run build-test-esm && npm run build-test-cjs",
0 commit comments