Skip to content

Commit

Permalink
got it to build, quick n dirty; epubjs patch
Browse files Browse the repository at this point in the history
  • Loading branch information
wommy committed Sep 24, 2024
1 parent c2fb225 commit 426af9c
Show file tree
Hide file tree
Showing 44 changed files with 14,618 additions and 203 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
/metadata/
/client/.nuxt/
/client/dist/
/client/dist
/client/.output/
/dist/
/deploy/
/coverage/
Expand Down
2 changes: 1 addition & 1 deletion client/components/readers/EpubReader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</template>

<script>
import ePub from 'epubjs'
import ePub from '../../static/libs/epubjs-patch/index.js'
/**
* @typedef {object} EpubReader
Expand Down
8 changes: 6 additions & 2 deletions client/nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ export default defineNuxtConfig({
autoprefixer: {},
}
}
}
},
transpile: ['luxon', 'cookie-es']
},
watchers: {
webpack: {
Expand All @@ -149,7 +150,10 @@ export default defineNuxtConfig({
host: '0.0.0.0'
},

bridge: false,
bridge: {
transpile: true,
nitro: true
},

/**
* Temporary workaround for @nuxt-community/tailwindcss-module.
Expand Down
Loading

0 comments on commit 426af9c

Please sign in to comment.