Make linter happy

environments/review-front-deve-otr6gc/deployments/10515
Georg Krause 2022-02-21 20:08:44 +01:00
rodzic d949909c40
commit db86483fbc
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: FD479B9A4D48E632
2 zmienionych plików z 3 dodań i 5 usunięć

Wyświetl plik

@ -12,7 +12,7 @@ module.exports = {
SharedArrayBuffer: 'readonly' SharedArrayBuffer: 'readonly'
}, },
parserOptions: { parserOptions: {
ecmaVersion: 2018, ecmaVersion: 2020,
sourceType: 'module', sourceType: 'module',
}, },
plugins: [ plugins: [

Wyświetl plik

@ -83,6 +83,7 @@
</template> </template>
<script> <script>
import showdown from 'showdown'
export default { export default {
props: { props: {
@ -94,10 +95,7 @@ export default {
} }
}, },
created () { created () {
const self = this this.markdown = showdown.Converter({ simplifiedAutoLink: true, openLinksInNewWindow: true })
import(/* webpackChunkName: "showdown" */ 'showdown').then(module => {
self.markdown = new module.default.Converter({ simplifiedAutoLink: true, openLinksInNewWindow: true })
})
} }
} }
</script> </script>