From a2e24e6710dbb3cec48d39b017054f41d3b54b43 Mon Sep 17 00:00:00 2001 From: Ffloriel Date: Sun, 11 Mar 2018 11:04:44 +0000 Subject: [PATCH] fix lint error --- examples/with-purgecss/nuxt.config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/with-purgecss/nuxt.config.js b/examples/with-purgecss/nuxt.config.js index ddb1c6b033..7ae7f5faa6 100644 --- a/examples/with-purgecss/nuxt.config.js +++ b/examples/with-purgecss/nuxt.config.js @@ -4,7 +4,7 @@ const glob = require('glob-all') class TailwindExtractor { static extract(content) { - return content.match(/[A-z0-9-:\/]+/g) || []; + return content.match(/[A-z0-9-:/]+/g) || [] } } @@ -15,7 +15,7 @@ module.exports = { require('tailwindcss')('./tailwind.js'), require('autoprefixer') ], - extend (config, { isDev }) { + extend(config, { isDev }) { if (!isDev) { config.plugins.push( new PurgecssPlugin({ @@ -28,7 +28,7 @@ module.exports = { extractors: [ { extractor: TailwindExtractor, - extensions: ["vue"] + extensions: ['vue'] } ], whitelist: ['html', 'body']