chore: polyfill querystring

This commit is contained in:
Anthony Fu 2022-11-14 11:45:20 +08:00
parent c79902a04e
commit 9cc837f5df
3 changed files with 24 additions and 0 deletions

View file

@ -16,6 +16,9 @@ export default defineNuxtConfig({
colorMode: { colorMode: {
classSuffix: '', classSuffix: '',
}, },
alias: {
querystring: 'rollup-plugin-node-polyfills/polyfills/qs',
},
postcss: { postcss: {
plugins: { plugins: {
'postcss-nested': {}, 'postcss-nested': {},

View file

@ -21,10 +21,12 @@
"@unocss/nuxt": "^0.46.5", "@unocss/nuxt": "^0.46.5",
"@vueuse/nuxt": "^9.5.0", "@vueuse/nuxt": "^9.5.0",
"eslint": "^8.27.0", "eslint": "^8.27.0",
"form-data": "^4.0.0",
"masto": "^4.6.1", "masto": "^4.6.1",
"nuxt": "^3.0.0-rc.13", "nuxt": "^3.0.0-rc.13",
"pinia": "^2.0.23", "pinia": "^2.0.23",
"postcss-nested": "^6.0.0", "postcss-nested": "^6.0.0",
"rollup-plugin-node-polyfills": "^0.2.1",
"sanitize-html": "^2.7.3", "sanitize-html": "^2.7.3",
"typescript": "^4.8.4" "typescript": "^4.8.4"
} }

View file

@ -12,10 +12,12 @@ specifiers:
'@unocss/nuxt': ^0.46.5 '@unocss/nuxt': ^0.46.5
'@vueuse/nuxt': ^9.5.0 '@vueuse/nuxt': ^9.5.0
eslint: ^8.27.0 eslint: ^8.27.0
form-data: ^4.0.0
masto: ^4.6.1 masto: ^4.6.1
nuxt: ^3.0.0-rc.13 nuxt: ^3.0.0-rc.13
pinia: ^2.0.23 pinia: ^2.0.23
postcss-nested: ^6.0.0 postcss-nested: ^6.0.0
rollup-plugin-node-polyfills: ^0.2.1
sanitize-html: ^2.7.3 sanitize-html: ^2.7.3
typescript: ^4.8.4 typescript: ^4.8.4
@ -31,10 +33,12 @@ devDependencies:
'@unocss/nuxt': 0.46.5 '@unocss/nuxt': 0.46.5
'@vueuse/nuxt': 9.5.0_nuxt@3.0.0-rc.13 '@vueuse/nuxt': 9.5.0_nuxt@3.0.0-rc.13
eslint: 8.27.0 eslint: 8.27.0
form-data: 4.0.0
masto: 4.6.1 masto: 4.6.1
nuxt: 3.0.0-rc.13_rmayb2veg2btbq6mbmnyivgasy nuxt: 3.0.0-rc.13_rmayb2veg2btbq6mbmnyivgasy
pinia: 2.0.23_typescript@4.8.4 pinia: 2.0.23_typescript@4.8.4
postcss-nested: 6.0.0 postcss-nested: 6.0.0
rollup-plugin-node-polyfills: 0.2.1
sanitize-html: 2.7.3 sanitize-html: 2.7.3
typescript: 4.8.4 typescript: 4.8.4
@ -5920,6 +5924,21 @@ packages:
glob: 7.2.3 glob: 7.2.3
dev: true dev: true
/rollup-plugin-inject/3.0.2:
resolution: {integrity: sha512-ptg9PQwzs3orn4jkgXJ74bfs5vYz1NCZlSQMBUA0wKcGp5i5pA1AO3fOUEte8enhGUC+iapTCzEWw2jEFFUO/w==}
deprecated: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject.
dependencies:
estree-walker: 0.6.1
magic-string: 0.25.9
rollup-pluginutils: 2.8.2
dev: true
/rollup-plugin-node-polyfills/0.2.1:
resolution: {integrity: sha512-4kCrKPTJ6sK4/gLL/U5QzVT8cxJcofO0OU74tnB19F40cmuAKSzH5/siithxlofFEjwvw1YAhPmbvGNA6jEroA==}
dependencies:
rollup-plugin-inject: 3.0.2
dev: true
/rollup-plugin-terser/7.0.2_rollup@2.79.1: /rollup-plugin-terser/7.0.2_rollup@2.79.1:
resolution: {integrity: sha512-w3iIaU4OxcF52UUXiZNsNeuXIMDvFrr+ZXK6bFZ0Q60qyVfq4uLptoS4bbq3paG3x216eQllFZX7zt6TIImguQ==} resolution: {integrity: sha512-w3iIaU4OxcF52UUXiZNsNeuXIMDvFrr+ZXK6bFZ0Q60qyVfq4uLptoS4bbq3paG3x216eQllFZX7zt6TIImguQ==}
peerDependencies: peerDependencies: