Skip to content

Commit

Permalink
build(deno): speed up Rollup copy step (#7364)
Browse files Browse the repository at this point in the history
  • Loading branch information
markdalgleish committed Sep 7, 2023
1 parent 88d619c commit 1fac238
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 0 additions & 2 deletions packages/remix-deno/.gitignore

This file was deleted.

11 changes: 8 additions & 3 deletions packages/remix-deno/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,15 @@ module.exports = function rollup() {
copy({
targets: [
{ src: "LICENSE.md", dest: [outputDir, sourceDir] },
{ src: `${sourceDir}/**/*`, dest: outputDir },
{ src: `!${sourceDir}/rollup.config.js`, dest: outputDir },
{
src: [
`${sourceDir}/**/*`,
`!${sourceDir}/rollup.config.js`,
`!${sourceDir}/node_modules`,
],
dest: outputDir,
},
],
gitignore: true,
}),
copyToPlaygrounds(),
],
Expand Down

0 comments on commit 1fac238

Please sign in to comment.