{"library":"nexe-webpack-plugin","title":"nexe-webpack-plugin","description":"Webpack plugin that emits a binary package compiled by nexe, integrating the Nexe JavaScript-to-binary compiler into webpack builds. Current stable version is 0.1.1 with limited release cadence. Key differentiator: allows creating standalone executables from webpack bundles. Requires webpack ^4.0.0 as a peer dependency. Ships TypeScript types. Suitable for developers who need to distribute Node.js applications as single binaries.","language":"javascript","status":"active","last_verified":"Sat Apr 25","install":{"commands":["npm install nexe-webpack-plugin"],"cli":null},"imports":["import { NexePlugin } from 'nexe-webpack-plugin'","import { NexePlugin } from 'nexe-webpack-plugin'","import type { NexePlugin } from 'nexe-webpack-plugin'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// webpack.config.js\nconst { NexePlugin } = require('nexe-webpack-plugin');\nconst { resolve } = require('path');\n\nmodule.exports = {\n  mode: 'development',\n  entry: './entry.js',\n  output: {\n    path: resolve(__dirname, 'build'),\n  },\n  plugins: [\n    new NexePlugin({\n      output: 'sample-bin',\n    }),\n  ],\n};","lang":"javascript","description":"Configures webpack to use NexePlugin to compile entry.js into a standalone binary sample-bin.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}