Merge pull request #1853 from anbraten/remove-external-deps
Bundle nes.css and quill-js
This commit is contained in:
commit
7a44f3dcb8
6 changed files with 11 additions and 5 deletions
1
front/dist/index.ejs
vendored
1
front/dist/index.ejs
vendored
|
@ -29,7 +29,6 @@
|
||||||
|
|
||||||
<script src="/env-config.js"></script>
|
<script src="/env-config.js"></script>
|
||||||
<base href="/">
|
<base href="/">
|
||||||
<link href="https://unpkg.com/nes.css@2.3.0/css/nes.min.css" rel="stylesheet" />
|
|
||||||
|
|
||||||
<title>WorkAdventure</title>
|
<title>WorkAdventure</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
|
@ -42,6 +42,7 @@
|
||||||
"webpack-dev-server": "^3.11.2"
|
"webpack-dev-server": "^3.11.2"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@16bits/nes.css": "^2.3.2",
|
||||||
"@fontsource/press-start-2p": "^4.3.0",
|
"@fontsource/press-start-2p": "^4.3.0",
|
||||||
"@joeattardi/emoji-button": "^4.6.2",
|
"@joeattardi/emoji-button": "^4.6.2",
|
||||||
"@types/simple-peer": "^9.11.1",
|
"@types/simple-peer": "^9.11.1",
|
||||||
|
|
|
@ -76,7 +76,3 @@
|
||||||
<section class="section-input-send-text">
|
<section class="section-input-send-text">
|
||||||
<div class="input-send-text" bind:this={QUILL_EDITOR} />
|
<div class="input-send-text" bind:this={QUILL_EDITOR} />
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<style lang="scss">
|
|
||||||
@import "https://cdn.quilljs.com/1.3.7/quill.snow.css";
|
|
||||||
</style>
|
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
//TextGlobalMessage
|
//TextGlobalMessage
|
||||||
|
|
||||||
|
// TODO: load on demand with TextGlobalMessage component
|
||||||
|
@import "quill/dist/quill.snow.css";
|
||||||
|
|
||||||
section.section-input-send-text {
|
section.section-input-send-text {
|
||||||
--height-toolbar: 20%;
|
--height-toolbar: 20%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
@import "~@fontsource/press-start-2p/index.css";
|
@import "~@fontsource/press-start-2p/index.css";
|
||||||
|
@import "~@16bits/nes.css/css/nes.min.css";
|
||||||
|
|
||||||
*{
|
*{
|
||||||
font-family: PixelFont-7,monospace;
|
font-family: PixelFont-7,monospace;
|
||||||
|
|
|
@ -2,6 +2,11 @@
|
||||||
# yarn lockfile v1
|
# yarn lockfile v1
|
||||||
|
|
||||||
|
|
||||||
|
"@16bits/nes.css@^2.3.2":
|
||||||
|
version "2.3.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/@16bits/nes.css/-/nes.css-2.3.2.tgz#e69db834119b33ae8d3cb044f106a07a17cadd6f"
|
||||||
|
integrity sha512-nEM5PIth+Bab5JSOa4uUR+PMNUsNTYxA55oVlG3gXI/4LoYtWS767Uv9Pu/KCbHXVvnIjt4ZXt13kZw3083qTw==
|
||||||
|
|
||||||
"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.8.3":
|
"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.8.3":
|
||||||
version "7.12.13"
|
version "7.12.13"
|
||||||
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.13.tgz#dcfc826beef65e75c50e21d3837d7d95798dd658"
|
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.13.tgz#dcfc826beef65e75c50e21d3837d7d95798dd658"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue