ckotzbauer / lodash-loader Goto Github PK
View Code? Open in Web Editor NEWCherry-picks Lodash functions and require them explicitly to reduce the webpack bundle size.
License: MIT License
Cherry-picks Lodash functions and require them explicitly to reduce the webpack bundle size.
License: MIT License
Hi,
I need the change the replace of the import in es2015 mode (because of typescript config).
Can you add an option to change the replace by:
return "import _" + lodashModule + " from \"lodash/" + lodashModule + "\";\n";
?
Thanks!
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Error type: undefined. Note: this is a nested preset so please contact the preset author if you are unable to fix it yourself.
I had to comment the line
aliases["./" + n] = path.resolve(lodashDir + "/" + file);
Because it's causing errors in my project. I think this line is very dangerous. I can have a ./assign
file, for stuffs, and it will be changed by lodash assign.
I think also that you should add the modularized alias:
aliases["lodash." + n] = path.resolve(lodashDir + "/" + file);
This issue provides visibility into Renovate updates and their statuses. Learn more
This repository currently has no open or pending branches.
I cant get { test: /\.js$/, loader: "babel-loader!lodash-loader" }
to work,
Module not found: Error: Can't resolve 'babel-loader!lodash-loader' in ...
Hi @jdalton,
I've written a new loader for webpack now to optimize bundle sizes. It has no dependencies to other loaders or plugins and can be used both in babel or typescript based projects.
If you see some bugs or you have ideas to improve, please let me know ;).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.