4 ms·
> What if I don't want to use webpack and npm and babel? You may want to look at Parcel, which gets you most of the Babel/Webpack benefits (minification, ES6 s
by crooked-v 8y ago
> What if I don't want to use webpack and npm and babel?
You may want to look at Parcel, which gets you most of the Babel/Webpack benefits (minification, ES6 syntax, using image files as imports in JS, etc) in a way that "just works".
npm i --save-dev parcel-bundler
npx parcel src/index.html # where index.html has <script src="whatever.js"></script>
...and that's it, if you're not doing anything really weird.
- woah 8y agoI’ve found parcel to be very buggy