docs: set vuepress mode to develop to work around terser bug

This commit is contained in:
Thomas Allmer
2019-02-02 20:32:04 +01:00
parent fc479c58d1
commit 1e1e6346bf
2 changed files with 7 additions and 0 deletions

View File

@@ -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';
}
},
};

View File

@@ -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",