Skip to content

Commit

Permalink
Minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
scottyzen committed Feb 3, 2022
1 parent f646217 commit 2f8963a
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 12 deletions.
4 changes: 2 additions & 2 deletions components/CookieBanner.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<transition name="scale-y">
<CookieControl ref="cookiecontrol" v-if="loaded">
<LazyCookieControl ref="cookiecontrol" v-if="loaded">
<template v-slot:bar>
<div class="right-8 bottom-8 left-8 z-10 fixed">
<div
Expand Down Expand Up @@ -33,7 +33,7 @@
</div>
</div>
</template>
</CookieControl>
</LazyCookieControl>
</transition>
</template>

Expand Down
9 changes: 2 additions & 7 deletions nuxt.config.js → nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export default defineNuxtConfig({
bridge: false,
target: "static",
dev: process.env.NODE_ENV !== 'production',
modern: true,

components: {
dirs: [
Expand Down Expand Up @@ -119,12 +120,6 @@ export default defineNuxtConfig({
},

build: {
extend (config) {
config.module.rules.push({
test: /\.mjs$/,
include: /node_modules/,
type: "javascript/auto"
})
}
aggressiveCodeRemoval: true
}
})
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dev:host": "nuxt --hostname '0' --port 8000",
"build": "nuxi build",
"start": "node .output/server/index.mjs",
"generate": "nuxi generate"
"generate": "nuxi generate -m"
},
"dependencies": {
"@nuxtjs/composition-api": "^0.31.0",
Expand Down
Binary file modified static/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/icon_maskable.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/images/cookie.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion static/images/empty.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion static/images/search.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2f8963a

Please sign in to comment.