Skip to content
This repository has been archived by the owner on Feb 6, 2019. It is now read-only.

Commit

Permalink
Fix deprecated notation
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoPennec authored and pi0 committed Jan 9, 2018
1 parent b715358 commit a2d4038
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions template/nuxt.config.js
Expand Up @@ -24,8 +24,8 @@ module.exports = {
/*
** Run ESLint on save
*/
extend (config, ctx) {
if (ctx.dev && ctx.isClient) {
extend (config, { isDev, isClient }) {
if (isDev && isClient) {
config.module.rules.push({
enforce: 'pre',
test: /\.(js|vue)$/,
Expand Down

0 comments on commit a2d4038

Please sign in to comment.