Skip to content

Commit

Permalink
Fix rollup & package-lock.json (#84)
Browse files Browse the repository at this point in the history
* resolve rollup warning

* fix package-lock.json

* create new package-lock.json

* update

* update
  • Loading branch information
zhiyuanliang-ms authored Jan 9, 2025
1 parent bcd18b6 commit 73f971f
Show file tree
Hide file tree
Showing 4 changed files with 113 additions and 82 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,14 @@ import dts from "rollup-plugin-dts";

export default [
{
external: ["@microsoft/feature-management"],
input: "src/index.ts",
output: [
{
dir: "dist/esm/",
format: "esm",
sourcemap: true,
preserveModules: true,
},
{
file: "dist/umd/index.js",
format: "umd",
name: 'FeatureManagementApplicationInsights',
sourcemap: true
}
],
plugins: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import dts from "rollup-plugin-dts";

export default [
{
external: ["@microsoft/feature-management"],
input: "src/index.ts",
output: [
{
Expand Down
185 changes: 110 additions & 75 deletions sdk/feature-management/package-lock.json

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

2 changes: 1 addition & 1 deletion sdk/feature-management/rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default [
{
file: "dist/umd/index.js",
format: "umd",
name: 'FeatureManagement',
name: "FeatureManagement",
sourcemap: true
}
],
Expand Down

0 comments on commit 73f971f

Please sign in to comment.