Skip to content

Commit

Permalink
chore: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
brc-dd committed Aug 28, 2023
1 parent e5afec5 commit 6e41cad
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@ const external = [
...Object.keys(pkg.dependencies),
...builtinModules.flatMap((m) =>
m.includes('punycode') ? [] : [m, `node:${m}`]
),
r('types/shared.d.ts'),
'postcss',
'source-map-js'
)
]

const plugins = [
Expand Down Expand Up @@ -70,7 +67,7 @@ const nodeTypes: RollupOptions = {
format: 'esm',
file: 'dist/node/index.d.ts'
},
external,
external: [...external, r('types/shared.d.ts'), 'postcss', 'source-map-js'],
plugins: [dts({ respectExternal: true })]
}

Expand Down

0 comments on commit 6e41cad

Please sign in to comment.