Closed kbrock closed 10 years ago
Followup: I was able to find a great starting point with the v0.4.0 demo (live).
@markdalgleish : Still curious if you have a better suggestion.
Thanks
Did you try the Bespoke.js Generator? On 22 Sep 2014 02:57, "Keenan Brock" notifications@github.com wrote:
Followup: I was able to find a great starting point with the v0.4.0 demo https://github.com/markdalgleish/bespoke.js/tree/v0.4.0/demo (live http://markdalgleish.com/presentations/bespoke.js/).
@markdalgleish https://github.com/markdalgleish : Still curious if you have a better suggestion.
Thanks
— Reply to this email directly or view it on GitHub https://github.com/markdalgleish/bespoke.js/issues/45#issuecomment-56304897 .
Yes, that is what I was using.
The first few times I used the generator and gulp, it generated a dist/build.js
of 70kb even though I disabled most of the generator's features.
Now it is generating a dest/build.js
of 12k with no features, and 20k with all features. Much more reasonable.
If I generate another large build.js
again, I'll reopen this issue with better repeat instructions.
Thanks for the great tool.
@kbrock 99 MEGs? is that a typo?
@jm3 well, it is all the dependencies that come along with the toolchain with node and bower.
Since I chose all the default options this time, the size has crept up to closer to 100megs:
du -sk *
4 README.md
4 bower.json
512 bower_components
80 dist
4 gulpfile.js
101768 node_modules
4 package.json
12 src
Cool. Dist is back up to 80k. Looks like 45k of it is source maps. That mystery solved.
While the packaging is annoying, the dist directory with the actual presentation is the most important for me. And that is small. which is good.
It just struck me odd that there are so many forced opinions like node, bower, gulp, jade, css stored in javascript, and the extra javascript module require syntax.
Since this is a DIY minimalistic framework, I expected there just to be a css file, html file, and a few optional js files.
Having said that, it was very cool how easily it deployed to gh-pages. It will just take a little time before I become comfortable with the full nodejs stack.
very cool
The generator isn't required. You can have a simple static site without a build process if you avoid using the generator and just use Bespoke.js and its plugins directly.
Hi,
Such a cool premise of creating a diy presentations with a 1k core
bespoke.js
and a simpletheme.css
.I followed the installation wizard, but probably used it wrong as it produced a 99mb presentation directory containing a 70k
build.js
and an emptybuild.css
.Can you point me to a starting
presentation.html
,bespoke.js
andtheme.css
that I can use without all this extra plumbing?Thanks, Keenan