Comments (2)
after some googling, it seems I can add this to the webpack module rules section to allow tiff files to be processed properly in webpack 5:
{
test: /\.(woff|woff2|eot|ttf|otf)$/i,
type: 'asset/resource',
},
after doing this, the server starts. However, I am still experiencing issues at runtime, which I will continue to debug and report on here (this is now my personal manifesto page)
from chat-gui.
I worked on the sus font issue myself and used file-loader. It turns out file-loader is deprecated, so you did a better job by using asset modules.
The other issue you're probably running into has to do with importing HTML files in assets/demo.js
. html-loader generates ES modules by default, but the file uses CJS require
statements. To fix the issue, you need to import
the HTML files, disable this option for the loader in your Webpack config, or rely on Node's module interoperability features by appending .default
to the require
s.
I already improved the README and solved these issues in #60, but I have some bad news: you can't connect to Destiny.gg chat like this because of how the server is configured. I'm not sure if we'll ever reconfigure the server to allow this to happen.
You can get around this with limited functionality by setting up a WebSocket proxy server. You have to connect the proxy server to the chat, then the dev server to the proxy server.
from chat-gui.
Related Issues (20)
- Not typing the color in all lowercase when tagging a user tags them with the default color HOT 2
- An extra newline can appear in a message when the embed icon is positioned at the very edge of the chat HOT 2
- Display a small marker next to usernames of chatters embedding the same content as you
- Hash link regex is difficult to read
- Watching mode doesn't highlight new messages properly when nothing embedded
- Focusing a user while watching mode is active seems like it does nothing
- There is no indication that watching mode is active HOT 1
- Hide watching mode button when not logged in HOT 1
- Show what a user is watching in the user info menu HOT 1
- Update broadcasts to match the appearance of other chat events
- YouTube URL normalizer breaks chat when the URL is invalid
- You can no longer click to highlight usernames if they end with an apostrophe
- On-screen keyboard popping up unnecessarily results in a poor user experience HOT 1
- You can't click to highlight a username when it's next to a caret
- The dev server should allow authentication with a Dgg login key rather than with session tokens
- The `/broadcast` command isn't listed under admin commands when using `/help`
- The Enter button on the iPhone is labeled "return" instead of "send"
- Timestamps aren't supported for YouTube `/live` URLs
- Highlight `spoiler` messages a different color
- Shortened links in the user mini-menu resolve to the shortened broken text as seen. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chat-gui.