diff --git a/frontend/babel.config.js b/frontend/babel.config.js index 3de35ba..e955840 100644 --- a/frontend/babel.config.js +++ b/frontend/babel.config.js @@ -1,13 +1,5 @@ module.exports = { presets: [ '@vue/cli-plugin-babel/preset' - ], - plugins: [ - [ - 'component', { - 'libraryName': 'element-ui', - 'styleLibraryName': 'theme-chalk' - } - ] ] } diff --git a/frontend/package.json b/frontend/package.json index 9ef465d..f23fb4f 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -24,7 +24,6 @@ "@vue/cli-plugin-babel": "~5.0.0", "@vue/cli-plugin-eslint": "~5.0.0", "@vue/cli-service": "~5.0.0", - "babel-plugin-component": "^1.1.1", "eslint": "^7.32.0", "eslint-plugin-vue": "^9.16.1" }, diff --git a/frontend/public/index.html b/frontend/public/index.html index b564335..30e2c34 100644 --- a/frontend/public/index.html +++ b/frontend/public/index.html @@ -1,5 +1,5 @@ - + @@ -8,6 +8,24 @@ blivechat + + <% if (process.env.NODE_ENV === 'production') { %> + + + + + + + + <% } else { %> + + + + + + + + <% } %>