Code Monkey home page Code Monkey logo

hanami-webpack's Issues

Add host option to webpack dev server binary

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

Looking for contributors

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.

Rake task to copy config files

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.

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.