Coder Social home page Coder Social logo

webpack it! about opensc2k HOT 12 CLOSED

nicholas-ochoa avatar nicholas-ochoa commented on May 5, 2024 6
webpack it!

from opensc2k.

Comments (12)

mozts2005 avatar mozts2005 commented on May 5, 2024 3

I would be willing to setup a CI build in appveyor for your webpack build step.

from opensc2k.

nicholas-ochoa avatar nicholas-ochoa commented on May 5, 2024

Sure

from opensc2k.

TheLarkInn avatar TheLarkInn commented on May 5, 2024

In hopes of not biting off more then I can chew, if it would be beneficial to allow a broader collaboration for this, and given a PR would be acceptable, I can create (or update this issue) to include a spec like set of requirements and isolated tasks for contributors to tackle. That way this work isn't just hung up by myself (if it turns out to be a larger task).

from opensc2k.

cursorial avatar cursorial commented on May 5, 2024

from opensc2k.

whphhg avatar whphhg commented on May 5, 2024

Can you please explain to the layman (or if you have any links handy) why using webpack with electron and serving the code through a server instead of consuming it directly would be faster?

I've struggled to understand this ever since I first switched to electron-compile and then directly to babel using babel --watch to auto-transform on changes to the source.

from opensc2k.

cursorial avatar cursorial commented on May 5, 2024

@whphhg I didn't think that webpack required you to serve it through a server? It can be used to just compress the code into single files can't it? Maybe I'm misunderstanding what it does?

from opensc2k.

whphhg avatar whphhg commented on May 5, 2024

@cursorial you are correct, I have misunderstood how it's used all this time. The server is only used for HMR during development and in production it loads the local entry point.

I've found these resources to be useful:

from opensc2k.

DevNebulae avatar DevNebulae commented on May 5, 2024

Did somebody pick this up already? I have some spare time tonight / this weekend and I want to look into this.

from opensc2k.

cursorial avatar cursorial commented on May 5, 2024

from opensc2k.

TheLarkInn avatar TheLarkInn commented on May 5, 2024

Hi finally have a bit of time to split some things up here! I'm going to pull the code down first and do a little assessment before getting started.

from opensc2k.

DevNebulae avatar DevNebulae commented on May 5, 2024

@TheLarkInn I discovered an issue while trying to implement this feature, check #32 to see the issue I ran into, but it is being worked on.

from opensc2k.

nicholas-ochoa avatar nicholas-ochoa commented on May 5, 2024

The re-write is now using webpack/eslint, closing this one.

from opensc2k.

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.