Comments (17)
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.
Yup, seems like an appropriate solution. Feel free to submit a PR if you’d like to :-)
from likely.
Wait, nope.
from likely.
What? :)
from likely.
Btw, if we have a webpack, why we need a browserify build? Maybe we need to switch to webpack anyway?
from likely.
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.
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.
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.
@vitkarpov, if you take this issue, please write back here so nobody else also takes it by an accident.
from likely.
Yep. I'll take it. Seems it's time to add me to the repo, so I can be assigned to issues :)
from likely.
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.
I think we should merge update-reame
first and then I'll update the webpack section.
from likely.
OK, I’ll let #45 hang out then until we merge #40.
from likely.
Okay. I'll make additional changes in #45 after that.
from likely.
@vitkarpov, you’re now a collaborator! I’ve assigned you to this issue.
from likely.
Thanks :) I can fix the readme now, #40 has been merged.
from likely.
Done
from likely.
Related Issues (20)
- Fix erratic test
- Vertical margins slightly differ HOT 6
- Improve interpretation of attributes HOT 3
- Version 2.5 epic HOT 7
- Fix Travis CI build
- Proofread and clean up the readme HOT 3
- Uncaught TypeError: o.promises[t] is not a function HOT 12
- Plans for 2.6 HOT 3
- Update colors and icons
- twitter data-title issue HOT 3
- Version 3.1 epic HOT 3
- 2.5.0 bug "Uncaught TypeError: Cannot read property 'trigger' of undefined" HOT 5
- кнопка постила с postila.ru HOT 2
- Text duplication on twitter share HOT 2
- Facebook: (#2) Service temporarily unavailable HOT 1
- Problem with whatsapp HOT 3
- data-url param adds dup url HOT 2
- share button works only one time in share modal HOT 2
- Homepage: Update Likely to 3.0 HOT 2
- Use flexbox with gap instead of margins HOT 3
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 likely.