Preact-cli: Feature request: Webpack 4 support

Created on 8 Aug 2018  路  6Comments  路  Source: preactjs/preact-cli

Is there plans/discussions/PRs to support Webpack 4?

It brings loads of improvements

has-fix

Most helpful comment

We are using it in the next tag, which is still under development

All 6 comments

We are using it in the next tag, which is still under development

Thanks @lukeed. How close is this to being released? How can I help?

We're still working on a new plugin architecture & a revamped set of config helpers. There's also being work done w/ ESM builds, ServiceWorker behavior, and Babel@7.

I use the next release in most of my builds. TBH, I'm a little out of touch of what the most _current_ status is, but what's there is definitely functional & the best way to suss out any bugs and/or needs.

IIRC we still send css file for the first page which results into this:
screen shot 2018-08-08 at 11 47 58 am

we can use some help for removing this and inlining the css while pre-rendering. am i right @lukeed ?

@tom-sherman you should join our Slack, we'd some help!

@prateekbh:

import Critters from 'critters-webpackit-plugin';

plugins: [
  new Critters({
    preload: 'media',
    noscriptFallback: true
  })
]

is it ok to close this?

Was this page helpful?
0 / 5 - 0 ratings