Remove @nuxtjs/tailwindcss dependency and replace with standalone tailwindcss

This commit is contained in:
advplyr
2024-01-25 17:39:22 -06:00
parent 91a9f918fb
commit 75ecff5e6d
3 changed files with 15 additions and 1589 deletions
+8 -5
View File
@@ -3,7 +3,7 @@ const pkg = require('./package.json')
export default { export default {
ssr: false, ssr: false,
target: 'static', target: 'static',
telemetry: false,
env: { env: {
PROD: '1', PROD: '1',
ANDROID_APP_URL: 'https://play.google.com/store/apps/details?id=com.audiobookshelf.app', ANDROID_APP_URL: 'https://play.google.com/store/apps/details?id=com.audiobookshelf.app',
@@ -36,6 +36,7 @@ export default {
}, },
css: [ css: [
'@/assets/tailwind.css',
'@/assets/app.css' '@/assets/app.css'
], ],
@@ -56,10 +57,6 @@ export default {
components: true, components: true,
buildModules: [
'@nuxtjs/tailwindcss',
],
modules: [ modules: [
'@nuxtjs/axios' '@nuxtjs/axios'
], ],
@@ -67,6 +64,12 @@ export default {
axios: {}, axios: {},
build: { build: {
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
babel: { babel: {
plugins: [['@babel/plugin-proposal-private-property-in-object', { loose: true }]], plugins: [['@babel/plugin-proposal-private-property-in-object', { loose: true }]],
}, },
+3 -1581
View File
File diff suppressed because it is too large Load Diff
+4 -3
View File
@@ -44,7 +44,8 @@
"@babel/core": "7.13.15", "@babel/core": "7.13.15",
"@babel/preset-env": "7.13.15", "@babel/preset-env": "7.13.15",
"@capacitor/cli": "^5.0.0", "@capacitor/cli": "^5.0.0",
"@nuxtjs/tailwindcss": "^6.10.3", "autoprefixer": "^10.4.17",
"postcss": "^8.3.5" "postcss": "^8.4.33",
"tailwindcss": "^3.4.1"
} }
} }