New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Considering Webpack support? #931
Comments
@rparree Thanks for the issue! If you're reporting a bug, please be sure to include:
If your issue is related to one of the following, please open an issue there:
|
Hi @rparree thanks for the issue. If you wouldn't mind linking to your build, I've love to take a look at what you were doing, maybe it will inspire some ideas. |
The problem is, it is not one build. Currently the site uses angular 1.x with scalaJS. so i have two builds: one sbt build and then one for the static site. I would like to move to Angular 2.x with Webpack (migrating to typescript to simplify the site's technologies), It would then be great if i could also use assemble.io within that same build. The current build system for assemble.io is grunt based. Meanwhile many people have moved to webpack so i was wondering if you were also considering moving there. I guess i could always call assemble from webpack (and move all the non-static site generation from the assemble build to webpack) |
I have two assemble projects. For the other than mentioned above i have meanwhile migrated all the non-assemble tasks from the assemble file into a webpack configuration (scss, copy static files, etc). So my javascript can now be managed by webpack. It does mean i need to perform two build steps: one to call assemble (to generate the html files) and then webpack to generate everything else. IS it something you guys have considered (moving/supporting) webpack? |
This would move assemble to modern front end development. Our devs have been stuck using things like grunt just to keep using assemble, but would love to move onto something modern day with webpack and leave that stuff in the past. |
Assemble can be used without another build system, and the webpack configuration described could easily be called by an assemble task, so that just running |
Fair enough. I'll look into running off assemble |
We can show examples or help with code if we have something to build from. |
it might be a good idea to setup an example " mini-blog". I will have time this weekend to setup an example project that we might use as a proof of concept? |
that would be useful. thanks! to get the best feedback possible, my suggestion is to only add the minimum amount of code to get the idea of what you want to accomplish. |
Find any time @rparree ? |
Not yet, i will find some time this week |
I was not able to find time. I will try this week as i really need to simplify the build and deploy process of a site using webpack/assemble |
I would love to see webpack support as well. The best option is to have a loader that will take care of processing HTML templates by passing them through assemble, such that it can be used with html-webpack-plugin. |
@korya if you (or anyone) can make a simple repository with webpack setup and how they think assemble could fit into the build (either assemble running webpack or a webpack plugin to run assemble), it would help us understand how to help. |
Or even just describe the process/workflow in detail, step-by-step. Webpack is already used successfully alongside assemble, gulp, Grunt and other build systems, it would help to see the benefits of a deeper level of integration so that we can figure out if it should be a plugin, middleware, or documentation examples. |
Hi all, I've made a simple loader for using assemble with html-webpack-plugin. |
@rparree @doodirock : You can try considering assemble-webpack We are already using it as part of many Enterprise application built using React-Redux, Webpack and setup Assemble for generating Server Side pages using Handlebars. 🎉🎉 |
Hi, I just would like to know how can I a have as a render page in .php file please. Thank you |
@rscarpim this isn't the correct repository to ask your question. |
Oops Sorry about that. |
I'm using this to migrate away from grunt to webpack but it's missing the option of including a plugin, specifically grunt-assemble-permalinks Would be great if someone could give me a steer on how-to extend it. I've forked said repo in an attempt to do such... |
Hi,
I was just wondering if you guys are perhaps planning a webpack version of assemble.io. My build process of my site became too complicated and would like to simplify by have a single build for the front-end.
Thanks
The text was updated successfully, but these errors were encountered: