Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 02 14:55
    matteobortolazzo commented #448
  • May 02 05:40
    bebraw commented #448
  • May 01 21:03
    matteobortolazzo commented #448
  • Feb 02 2019 22:45
    danielhamngren opened #448
  • Nov 18 2018 04:43
    McWatt commented #447
  • Sep 27 2018 18:26
    bebraw commented #447
  • Sep 27 2018 17:45
    jordancclive opened #447
  • Mar 13 2018 16:18
    skarlinski commented #446
  • Mar 13 2018 15:33
    bebraw commented #446
  • Mar 13 2018 15:32

    bebraw on master

    fix(language-features): Drop we… Removed redundant spread operat… Merge pull request #446 from sk… and 2 more (compare)

  • Mar 13 2018 15:32

    bebraw on v2.5.13

    (compare)

  • Mar 13 2018 15:32

    bebraw on dev

    chore: Bump version 2.5.13 (compare)

  • Mar 13 2018 15:29

    bebraw on dev

    Removed redundant spread operat… Merge pull request #446 from sk… (compare)

  • Mar 13 2018 15:29
    bebraw closed #446
  • Mar 12 2018 17:50
    skarlinski opened #446
  • Mar 07 2018 14:47

    bebraw on dev

    fix(language-features): Drop we… (compare)

  • Mar 07 2018 14:46

    bebraw on dev

    chore: Thank @skarlinski chore: Bump version 2.5.12 (compare)

  • Feb 26 2018 08:55
    bebraw commented #445
  • Feb 26 2018 08:54

    bebraw on master

    Changed `const` to `let` in es6… Merge pull request #445 from sk… chore: Thank @skarlinski and 2 more (compare)

  • Feb 26 2018 08:54

    bebraw on v2.5.12

    (compare)

NickWoodward
@NickWoodward
Loving the book by the way, if the author is here :)
NickWoodward
@NickWoodward
Once I create the manifest and change index.js, the manifest hash doesn't change either
Juho Vepsäläinen
@bebraw
@NickWoodward can you push your code to github so i can have a look?
maybe something changed in webpack
i'm close to a new release of the book btw, see the dev branch at https://github.com/survivejs/webpack-book
it's a lot of modernization + preparation for webpack 5
they added what's called contenthash to webpack but it appears to be buggy in webpack 4 (should be ok in 5)
speaking of react, i wrote https://tailwind-webpack-starter.netlify.app/ . it gives you react style component model without react. overall the solution is extremely light (check the network tab)
NickWoodward
@NickWoodward

Ha, just my luck I've got through most of the book and you've got another coming out :) Ah well, good for me to re-read it all - I've certainly not mastered webpack by any means!

Yeah I'll upload it in a sec, thanks

Juho Vepsäläinen
@bebraw
cool. it's still the same book, just with updates here and there and occasional rewrites :)
likely i'll check your repository tomorrow morning as it's getting late
NickWoodward
@NickWoodward
nice one, thanks, here's the repo anyway - https://github.com/NickWoodward/SurviveJS-Webpack
Juho Vepsäläinen
@bebraw
@NickWoodward getting 404 - maybe you need to make it public
NickWoodward
@NickWoodward
ah yeah my bad, totally forgot it was private when I first created it
should be good now
Juho Vepsäläinen
@bebraw
@NickWoodward it's possible webpack 4 behavior has changed here since i wrote the chapter. that's a good find! effectively that means separating the runtime might not be even necessary anymore in this kind of scenario
i checked your repository and i can confirm what you saw
it's possible this has to do with module indexing/numbering internally and now it's more stable by default than before when it was invalidating them inadvertently
NickWoodward
@NickWoodward

It's always nice to find it's not simply down to me misunderstanding a newish topic! :D

Speaking of which, I do have a couple of questions on some odd behaviour I'm getting implementing multipe pages if you don't mind - but for the time being I'll leave you to enjoy your weekend! Thanks for taking a look, much appreciated!

Juho Vepsäläinen
@bebraw
@NickWoodward sure, when you have time, feel free to send the questions here
if you want to compare, i have a multi-page setup at https://github.com/survivejs/tailwind-webpack-starter
it's a bit more complex than in the book
it's doing bundle per page by convention and also a shared bundle for any global dependencies
internally it's typed-html, typescript, tailwind, and sidewind
NickWoodward
@NickWoodward
Thanks, I'll take a look!
Juho Vepsäläinen
@bebraw
i was thinking about the cache busting problem - it can still make sense to separate the runtime in case you have changes outside of the main bundle affecting it as then it would invalidate it still due to a side effect of updating an id within it
Juho Vepsäläinen
@bebraw
i added code editors to the boilerplate, https://tailwind-webpack-starter.netlify.app/components/
the next step might be iterating on the components and adding the ones i'll need in the immediate future in addition to implementing incremental compilation for production (avoids lots of work)
Juho Vepsäläinen
@bebraw
i added type bits today (it's doing introspection) + some component improvements :)
Juho Vepsäläinen
@bebraw
i improved the code editor somewhat (it supports jsx way better now), https://tailwind-webpack-starter.netlify.app/design-system/
there are also more components (still missing a couple of the vital ones)
Juho Vepsäläinen
@bebraw
i added an initial version of component code editor to the thing, https://twitter.com/bebraw/status/1294955118232834053
Juho Vepsäläinen
@bebraw
there's a design system themed mini-conf 22nd of September
Juho Vepsäläinen
@bebraw
Juho Vepsäläinen
@bebraw
Juho Vepsäläinen
@bebraw
Mikko Ohtamaa
@miohtama
I see TailWind is gaining popularity
Adn good morning BTW
Juho Vepsäläinen
@bebraw
good morning, tailwind is getting popular, yeah :)
i have been using https://github.com/lukejacksonn/oceanwind with great success. it's a bit early days but it's great
Mikko Ohtamaa
@miohtama
when headwind, sir?
Juho Vepsäläinen
@bebraw
headwind already exists :)
it's a super cool vs code plugin for sorting tailwind class names
Mikko Ohtamaa
@miohtama
hahaha
Juho Vepsäläinen
@bebraw
Sergey
@AlexSergey

Hi everyone! I've finished the first version of my Rockpack project.
It provides you to create a React application skeleton in the create-react-app style.
Consists of modules: compiler (webpack + the best loaders, plugins, best practices), codestyle (ESLint + The best rules), tester (Jest + optimizations, extensions) and etc.

The main difference from create-react-app is support for different types of applications:

  • Single Page Application (SPA)
  • Server-Side Render
  • Server-Side Render + Redux + Sagas+ React-Router + Project Structure
  • UMD library or React Component
  • Nodejs application

Updating and extending webpack.config without "eject".
LESS/CSS/SCSS Modules
TS or Babel to choose from.

I hope this will be useful for your work.

https://github.com/AlexSergey/rockpack