diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index f7f35a1a..0c7aba15 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -120,4 +120,10 @@ module.exports = { ['meta', { name: 'twitter:card', content: 'summary' }], ['meta', { name: 'twitter:title', content: 'Open Web Components' }], ], + // temporary set to develop mode as Terser seems to have a problem :/ + configureWebpack: (config, isServer) => { + if (!isServer) { + config.mode = 'development'; + } + }, }; diff --git a/package.json b/package.json index c30c4057..db7a51bc 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,7 @@ "@commitlint/config-conventional": "7.1.2", "@commitlint/config-lerna-scopes": "7.2.1", "@vuepress/plugin-google-analytics": "^1.0.0-alpha.30", + "eslint": "^5.13.0", "eslint-config-prettier": "^3.3.0", "husky": "1.1.2", "lerna": "3.4.3",