Skip to content

Commit

Permalink
Merge pull request #89 from umbrella-anton-karmazin/umbrella-anton-ka…
Browse files Browse the repository at this point in the history
…rmazin-patch-1

Fix eslint-loader usage on production
  • Loading branch information
atinux authored May 30, 2018
2 parents 8ba6dde + 8b9918a commit 215738d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module.exports = {
** Run ESLINT on save
*/
extend (config, ctx) {
if (ctx.isClient) {
if (ctx.dev && ctx.isClient) {
config.module.rules.push({
enforce: 'pre',
test: /\.(js|vue)$/,
Expand Down

0 comments on commit 215738d

Please sign in to comment.