Skip to content

Commit 2baf50d

Browse files
committed
got it to build, quick n dirty; epubjs patch
1 parent c67c586 commit 2baf50d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+14616
-203
lines changed

client/components/readers/EpubReader.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
</template>
1616

1717
<script>
18-
import ePub from 'epubjs'
18+
import ePub from '../../static/libs/epubjs-patch/index.js'
1919
2020
/**
2121
* @typedef {object} EpubReader

client/nuxt.config.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,8 @@ export default defineNuxtConfig({
124124
autoprefixer: {}
125125
}
126126
}
127-
}
127+
},
128+
transpile: ['luxon', 'cookie-es']
128129
},
129130
watchers: {
130131
webpack: {
@@ -137,7 +138,10 @@ export default defineNuxtConfig({
137138
host: '0.0.0.0'
138139
},
139140

140-
bridge: false,
141+
bridge: {
142+
transpile: true,
143+
nitro: true
144+
},
141145

142146
/**
143147
* Temporary workaround for @nuxt-community/tailwindcss-module.

0 commit comments

Comments
 (0)