Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@ima/cli-plugin-analyze
Advanced tools
Pre-configures bundle-stats-webpack-plugin and webpack-bundle-analyzer webpack plugins for fast and easy bundle analyzing.
npm install @ima/cli-plugin-analyze -D
const { AnalyzePlugin } = require('@ima/cli-plugin-analyze');
/**
* @type import('@ima/cli').ImaConfig
*/
module.exports = {
plugins: [new AnalyzePlugin()],
};
client | client.es | server
Run the ima build command with --analyze
argument and pick one of the three produced bundles you want to analyze. For example: npx ima build --analyze=client
.
new AnalyzePlugin(options: {
open?: boolean;
bundleStatsOptions?: BundleStatsWebpackPlugin.Options;
bundleAnalyzerOptions?: BundleAnalyzerPlugin.Options;
});
boolean = true
Set to false if you don't want to automatically open the browser window with the html reports when the build finishes.
object
Pass any option that the BundleStatsWebpackPlugin
accepts. These are then merged with some of our custom defaults.
object
Pass any option that the BundleAnalyzerPlugin
accepts. These are then merged with some of our custom defaults.
For more information, take a look at the IMA.js documentation.
FAQs
Plugin for @ima/cli adding analyze bundle functionality.
We found that @ima/cli-plugin-analyze demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 9 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.