Why use WebPack?

后端 未结 3 1263
栀梦
栀梦 2021-01-14 10:51

I\'ve spent a couple days getting Webpack up and running and just got a test going. However I found that the bundle.js file that came out of webpack was doing a lot of unnec

3条回答
  •  说谎
    说谎 (楼主)
    2021-01-14 11:05

    I've fought my fair share of battles with the bundlers. There are other ways. With a few years of experience and trial and error, the best alternative I've come up with is my project Zwitterion: https://github.com/lastmjs/zwitterion

    It is designed to be a swap in replacement for a static file server. It supports ES2015+, TypeScript, AssemblyScript, Rust, C, C++ and will probably support JSX, TSX, and Vue soon. You don't have to change your file structure or the way you would intuitively develop. Just write your source code, include it with script elements or module imports, and it just works.

提交回复
热议问题