Git Product home page Git Product logo

Comments (2)

bmckalip avatar bmckalip commented on July 20, 2024

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.

11k avatar 11k commented on July 20, 2024

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 requires.

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.