Skip to content

Commit

Permalink
Ignore .eslintrc.js file during build
Browse files Browse the repository at this point in the history
The `.eslintrc.js` was being copied to `public/deploy`.
  • Loading branch information
domoscargin committed Dec 2, 2022
1 parent d136633 commit 49368d7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/metalsmith.js
Expand Up @@ -57,6 +57,9 @@ module.exports = metalsmith(__dirname) // __dirname defined by node.js: name of
// source directory
.source(path.join('../', paths.source))

// Ignore internal config
.ignore('.eslintrc.js')

// destination directory
.destination(path.join('../', paths.public))

Expand Down

0 comments on commit 49368d7

Please sign in to comment.