SurviveJS - Webpack: From apprentice to master by Juho Vepsäläinen
Author:Juho Vepsäläinen [Vepsäläinen, Juho]
Language: eng
Format: azw3
Publisher: 978-952-68688
Published: 2017-03-27T04:00:00+00:00
19.2 Tree Shaking on Package Level
The same idea works with dependencies that use the ES6 module definition. Given the related packaging standards are still emerging, you have to be careful when consuming such packages. Webpack tries to resolve package.json module field for this reason.
For tools like webpack to allow tree shake npm packages, you should generate a build that has transpiled everything else except the ES6 module definitions and then point to it through package.json module field. In Babel terms, you have to let webpack to manage ES6 modules by setting "modules": false.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Hello! Python by Anthony Briggs(9924)
The Mikado Method by Ola Ellnestam Daniel Brolund(9784)
Dependency Injection in .NET by Mark Seemann(9347)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7787)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7566)
Svelte with Test-Driven Development by Daniel Irvine(7227)
Test-Driven Development with PHP 8 by Rainier Sarabia(6958)
Layered Design for Ruby on Rails Applications by Dementyev Vladimir;(6825)
Secrets of the JavaScript Ninja by John Resig & Bear Bibeault(6539)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6423)
Web Development with Django by Ben Shaw Saurabh Badhwar(6289)
React Application Architecture for Production by Alan Alickovic(6007)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(5813)
Kotlin in Action by Dmitry Jemerov(5073)
Audition by Ryu Murakami(4590)
Software Architecture for Web Developers by Mihaela Roxana Ghidersa(4486)
Accelerating Server-Side Development with Fastify by Manuel Spigolon Maksim Sinik & Matteo Collina(4333)
Hands-On Full-Stack Web Development with GraphQL and React by Sebastian Grebe(4323)
Solidity Programming Essentials by Ritesh Modi(4043)
