Skip to content

Commit

Permalink
build(pci-common): remove module type from package.json
Browse files Browse the repository at this point in the history
Signed-off-by: Frédéric Vilcot <[email protected]>
  • Loading branch information
fredericvilcot committed Dec 18, 2024
1 parent d29f0b4 commit 8367dc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions packages/manager/modules/manager-pci-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
},
"license": "BSD-3-Clause",
"author": "OVH SAS",
"type": "module",
"main": "dist/index.cjs",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"types": "dist/types/index.d.ts",
"files": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ export default defineConfig({
lib: {
entry: path.resolve(pathSrc, 'index.ts'),
name: 'ManagerPciCommonLib',
fileName: 'index',
formats: ['esm', 'cjs'],
fileName: (format) => `index.${format}.js`,
},
rollupOptions: {
external: (id) =>
Expand Down

0 comments on commit 8367dc0

Please sign in to comment.