Last 12 weeks · 0 commits
1 of 6 standards met
Step to reproduce 1. Checkout fresh install. 1. 1. Results webpack throw error Workaround 1. // To install dependency 1. // To create build folder 1. // To start webpack-dev-server Or 1. // To install dependency 1. // To create build folder and start http-server PS : I can see some movement in other branch so I didn't propose fixed PR to prevent conflict. :)
Repository: developit/preact-todomvc. Description: 💣 TodoMVC done in Preact. Under 6kb and fast. Stars: 106, Forks: 31. Primary language: JavaScript. Languages: JavaScript (94.1%), HTML (5.9%). Homepage: https://preact-todomvc.surge.sh Topics: demo, preact, todomvc. Latest release: 0.2.0 (10y ago). Open PRs: 1, open issues: 2. Last activity: 6y ago. Community health: 28%. Top contributors: developit, lukeed, ivanistheone, t-jindai.
Using Rollup, there is (currently) no way to both recompile changes _and_ reload the current server. Forget about HMR! The Rollup dev process needs a third party to breach the gap & coordinate tasks. This PR brings back the utility/behavior while still using Rollup. Note: This does not alter the bundle's contents or size in any way. Changes: Replaced with Renamed & relocatd static assets. Installed Fly for lightweight task watcher & manager (Greatly) Simplified all Removed all unused dependencies (Webpack & co) I could have used and re-applied the UglifyJS2 config using its JS API, but the previous CLI string was already done & straightforward, so I just passed it thru instead.