Skip to content

Commit

Permalink
remove polyfill plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
brenzi committed Apr 27, 2024
1 parent 0a4528e commit 93799da
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
3 changes: 1 addition & 2 deletions app.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

<script setup lang="ts">
git<script setup lang="ts">
import { defineAsyncComponent } from 'vue'
import { useAsyncData } from '#imports'
import Footer from '@/components/Footer'
Expand Down
12 changes: 6 additions & 6 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defineNuxtConfig } from 'nuxt/config'
import { nodePolyfills } from 'vite-plugin-node-polyfills';
//import { nodePolyfills } from 'vite-plugin-node-polyfills';
export default defineNuxtConfig({
app: {
head: {
Expand Down Expand Up @@ -60,11 +60,11 @@ export default defineNuxtConfig({
imports: {
autoImport: false,
},
hooks: {
'vite:extendConfig': (config) => {
config.plugins!.push(nodePolyfills()); // unshift ?
},
},
// hooks: {
// 'vite:extendConfig': (config) => {
// config.plugins!.push(nodePolyfills()); // unshift ?
// },
// },
css: ['~/assets/scss/main.scss'],
modules: ['nuxt-svgo', '@pinia/nuxt', '@nuxt/content', '@nuxt/ui', '@nuxtjs/tailwindcss' ],
plugins: [{ src: '~/plugins/lockScroll', mode: 'client' }],
Expand Down

0 comments on commit 93799da

Please sign in to comment.