egoist / poi

⚡A zero-config bundler for JavaScript applications.
https://poi.js.org
MIT License
5.23k stars 255 forks source link

SapperJs with amazing Poi #348

Closed ansarizafar closed 5 years ago

ansarizafar commented 6 years ago

Is it possible to use SapperJs https://sapper.svelte.technology/ with amazing Poi.

mblarsen commented 6 years ago

It seems sapper provides all you need to develop so you wouldn't really need poi. Maybe I'm missing something :)

poi has a svelte preset that would provide you with similar functionality. So I guess you could clone the example and with a bit of cleanup you could use poi instead of the sapper webpack setup and such.

Did you have anything in mind?

ansarizafar commented 6 years ago

Vue cli/templates also provide all you need to develop but Still, poi has builtin support for Vue. What poi provides is convenience.

mblarsen commented 6 years ago

As far as I've understood SapperJs it is a boilerplate for Svelte apps. Poi doesn't do boilerplates.

You can use SAO (by the same dev as poi) for that.

Poi provides svelte support through the svelte preset.

If I am missing the point please disregard my words :)

egoist commented 5 years ago

Using Poi to replace the Sapper CLI seems a bit unnecessary (it's possible though, with a Poi plugin), but you can use Poi to manage your webpack.config.js in a Sapper app if you want. poi/webpack.config.js exported the raw webpack config.