feat: Add bulma divider

fix: Change extractCSS to only extract on production so we don't break HMR
This commit is contained in:
Zephyrrus 2020-07-19 22:25:11 +03:00
parent a721681944
commit ef255587b1
2 changed files with 2 additions and 1 deletions

View File

@ -81,7 +81,7 @@ export default {
baseURL: `${process.env.DOMAIN}${process.env.ROUTE_PREFIX}`,
},
build: {
extractCSS: true,
extractCSS: process.env.NODE_ENV === 'production',
postcss: {
preset: {
autoprefixer,

View File

@ -82,6 +82,7 @@
"vuebar": "^0.0.20"
},
"devDependencies": {
"@creativebulma/bulma-divider": "^1.1.0",
"@nuxtjs/eslint-config": "^3.0.0",
"autoprefixer": "^9.4.7",
"babel-eslint": "^10.0.1",