Giter VIP home page Giter VIP logo

Comments (17)

vitkarpov avatar vitkarpov commented on August 11, 2024

one of the source files requires a JSON file

It's an svg.json file with icons hash map. Maybe this should be a regular commonjs-module?

module.exports = {
  "facebook": "....",
  "twitter": "...",
};

Seems in this case webpack doesn't need any custom loaders, right?

from likely.

iamakulov avatar iamakulov commented on August 11, 2024

Yup, seems like an appropriate solution. Feel free to submit a PR if you’d like to :-)

from likely.

iamakulov avatar iamakulov commented on August 11, 2024

Wait, nope.

from likely.

vitkarpov avatar vitkarpov commented on August 11, 2024

What? :)

from likely.

vitkarpov avatar vitkarpov commented on August 11, 2024

Btw, if we have a webpack, why we need a browserify build? Maybe we need to switch to webpack anyway?

from likely.

iamakulov avatar iamakulov commented on August 11, 2024

Wait, nope.

I’ve thought that we’d still want to implement a UMD build in the future, but in fact there’s no need to do this until we have a real request. So, if you think you have time to switch Likely to Webpack, that’d be great because this’ll make us more flexible in the future. If you don’t, a simple svg.json → svg.js solution is OK.

from likely.

vitkarpov avatar vitkarpov commented on August 11, 2024

I think that there're two different problems:

  • remove json to simplify current webpack flow
  • get rid of browserify and keep use only webpack

If it's right, first of all, seems right to get rid of json file and then make a new issue about switching to webpack.

from likely.

iamakulov avatar iamakulov commented on August 11, 2024

Btw, if we have a webpack, why we need a browserify build?

Important: we don’t use webpack at the moment. Only Browserify.

If it's right, first of all, seems right to get rid of json file and then make a new issue about switching to webpack.

Yep, you’re right. I’ll create an issue about migration to Webpack.

from likely.

iamakulov avatar iamakulov commented on August 11, 2024

@vitkarpov, if you take this issue, please write back here so nobody else also takes it by an accident.

from likely.

vitkarpov avatar vitkarpov commented on August 11, 2024

Yep. I'll take it. Seems it's time to add me to the repo, so I can be assigned to issues :)

from likely.

iamakulov avatar iamakulov commented on August 11, 2024

Seems it's time to add me to the repo, so I can be assigned to issues :)

I’ll ask Ilya about this :-)

from likely.

vitkarpov avatar vitkarpov commented on August 11, 2024

I think we should merge update-reame first and then I'll update the webpack section.

from likely.

iamakulov avatar iamakulov commented on August 11, 2024

OK, I’ll let #45 hang out then until we merge #40.

from likely.

vitkarpov avatar vitkarpov commented on August 11, 2024

Okay. I'll make additional changes in #45 after that.

from likely.

iamakulov avatar iamakulov commented on August 11, 2024

@vitkarpov, you’re now a collaborator! I’ve assigned you to this issue.

from likely.

vitkarpov avatar vitkarpov commented on August 11, 2024

Thanks :) I can fix the readme now, #40 has been merged.

from likely.

vitkarpov avatar vitkarpov commented on August 11, 2024

Done

from likely.

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.