samuelsimoes / hanami-webpack Goto Github PK
View Code? Open in Web Editor NEWA RubyGem to allow you to use the Webpack as your asset pipeline in Hanami.
License: MIT License
A RubyGem to allow you to use the Webpack as your asset pipeline in Hanami.
License: MIT License
Hello!
How about to add --host
option to webpack-dev-server
invocation?
My use case is that I run hanami application in Docker, so I need to specify --host=0.0.0.0
to make webpack dev server available for my web browser
Hi, @samuelsimoes!
Following the discussion on Gitter, I investigated a little bit whether it would be possible or not to have dynamically loaded rake task to create default configuration. Turns out it's probably not possible. I know we are all used to Rails' ecosystem and how it scans all the load path in search of possible rake tasks, but this comes with a performance cost and I think this is not a "Hanami-way", so it won't be introduces in any near future.
Alternatively, the README could ask the user to manually include in his Rakefile
a line like this:
require 'hanami_webpack/tasks'
This would expose the tasks from a file in hanami-webpack
gem to Hanami project, for example aforementioned task to copy default config.
How do you feel about solution like that? I know it is far from perfect but is the best thing I could come up with about this.
Hi people, there's a while that I don't do any kind of projects with Hanami and I am very busy in the last months because my other projects, but I see that some people still interested in updates and some tweaks, so if you want to help me to keep this project, please send an email to [email protected] that I will talk with you.
Of course, it will be a volunteer job.
Thank you for your attention.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.