minified build
See original GitHub issueHi, I was comparing the result of the serverless-bundle
(I’m using the beta branch because I’m using typescript to develop) with serverless-plugin-ncc
and I see that the final bundle of serverless-bundle is quite havier compared to serverless-plugin-ncc
index.js
from serverless-bundle
is 2,319KB
index.js
from serverless-plugin-ncc
is 1,105KB
I don’t know internally if there are differences but as far as I can see it’s not possible to minify the serverless-bundle output.
So I’ve two questions:
- would it be possible to add that option to serverless-bundle?
- have you ever thought to create an ncc plugin? (because I know guys that you are damn amazing in support serverless and I would like to see something from your own!).
serverless-plugin-ncc
seems to not supportserverless-offline
and many cool things that come from your bundle plugin.
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
What is Minification | Why minify JS, HTML, CSS files - Imperva
Minification is the process of minimizing code and markup in your web pages and script files. It's one of the main methods used...
Read more >How to build minified and uncompressed bundle with webpack?
This uses an array of configuration to enable webpack to build the minified and non-minified version in parallel. This make build faster.
Read more >How to build both minified and uncompressed bundle with ...
Q: How to build both minified and uncompressed bundle with Webpack? A1: Use plugin UglifyJsPlugin (before webpack 4). let webpack = require ...
Read more >Minification (programming) - Wikipedia
Minification (also minimisation or minimization) is the process of removing all unnecessary characters from the source code of interpreted programming ...
Read more >How to Minify JavaScript — Recommended Tools and Methods
JSMin is a dedicated command line JavaScript minification tool and library to minify the JavaScript code and make the code as lightweight as ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Is there a way to disable minimization? I’m using serverless-mysql in my code and get the following error:
It seems like this is an issue with webpack minimization because rolling back to 4.4.0 fixes the issue
V5 Beta has minification enabled 🙂