diff options
| author | Zephyrrus <[email protected]> | 2020-07-19 22:25:11 +0300 |
|---|---|---|
| committer | Zephyrrus <[email protected]> | 2020-07-19 22:25:11 +0300 |
| commit | ef255587b13ecf7d2dbdbc45ce4e7820ba2d4445 (patch) | |
| tree | cbea229971d52ae61a6bac5d5074e7ba253d4a82 | |
| parent | Merge pull request #1 from Zephyrrus/feature/store_refactor (diff) | |
| download | host.fuwn.me-ef255587b13ecf7d2dbdbc45ce4e7820ba2d4445.tar.xz host.fuwn.me-ef255587b13ecf7d2dbdbc45ce4e7820ba2d4445.zip | |
feat: Add bulma divider
fix: Change extractCSS to only extract on production so we don't break HMR
| -rw-r--r-- | nuxt.config.js | 2 | ||||
| -rw-r--r-- | package.json | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/nuxt.config.js b/nuxt.config.js index 19176e0..5740e04 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -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, diff --git a/package.json b/package.json index aad96b4..d6bbcdc 100644 --- a/package.json +++ b/package.json @@ -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", |