Skip to content

Commit

Permalink
chore: delete dist/ only if generating prod release
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronCQL committed Sep 9, 2020
1 parent c7120a0 commit b8ce2b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default [
},
plugins: [
// delete the /dist folder
del({ targets: "dist/*", runOnce: true }),
...(isProd ? [del({ targets: "dist/*", runOnce: true })] : []),
// copy essential KaTeX files from /node_modules to /src
copy({
targets: [
Expand Down

0 comments on commit b8ce2b8

Please sign in to comment.