Skip to content

Commit

Permalink
set ts outDir appropriately in rollup config
Browse files Browse the repository at this point in the history
  • Loading branch information
eritbh authored Oct 19, 2024
1 parent 7efd6da commit a3eb37d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ export default ['chrome', 'firefox'].flatMap(platform => [
// HACK: see https://github.com/rollup/plugins/issues/1629
typescript({
include: 'extension/**/*.(ts|tsx|js|jsx)',
compilerOptions: {
outDir: `build/${platform}/data`
},
}),
// Copy files not processed by Rollup over to the build directory
copy({
Expand Down

0 comments on commit a3eb37d

Please sign in to comment.