Skip to content

Commit 1dc2526

Browse files
committed
chore: ignore coverage on postcss
1 parent 977d605 commit 1dc2526

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/module.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ module.exports = async function (moduleOptions) {
2929
// This hooks is called only for `nuxt dev` and `nuxt build` commands
3030
this.nuxt.hook('build:before', () => {
3131
// Fix issue with postCSS that needs process.env.NODE_ENV
32+
/* istanbul ignore if */
3233
if (!this.options.dev && !process.env.NODE_ENV) {
3334
process.env.NODE_ENV = 'production'
3435
}

0 commit comments

Comments
 (0)