{"library":"write-file-webpack-plugin","type":"library","category":null,"description":"write-file-webpack-plugin (current version 4.5.1) is a Webpack plugin specifically designed to modify the default behavior of `webpack-dev-server`. By default, `webpack-dev-server` serves bundled assets from an in-memory file system, which can be problematic for specific development workflows requiring physical files on the disk. This includes scenarios like server-side rendering, integration testing with tools watching the file system, or external build processes that rely on the presence of output files. The plugin forces `webpack-dev-server` to write all or selected output files to the designated file system path during development builds. It provides options such as `test` (a regular expression to filter which files are written), `atomicReplace` (to prevent external programs from reading partial files), and `log` (to display written files in the console). Its primary differentiator is enabling file system output when `webpack-dev-server` is in use, a feature not natively available in the dev server. The release cadence is generally tied to Webpack ecosystem updates and bug fixes, though not strictly scheduled.","language":"javascript","status":"active","version":"4.5.1","tags":["javascript","webpack","plugin","webpack-dev-server","write","file"],"last_verified":"Wed May 27","install":[{"cmd":"npm install write-file-webpack-plugin","imports":["import WriteFilePlugin from 'write-file-webpack-plugin';","const WriteFilePlugin = require('write-file-webpack-plugin');","new WriteFilePlugin({ test: /\\.css$/ });"]},{"cmd":"yarn add write-file-webpack-plugin","imports":[]},{"cmd":"pnpm add write-file-webpack-plugin","imports":[]}],"homepage":null,"github":"https://github.com/gajus/write-file-webpack-plugin","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/write-file-webpack-plugin","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/write-file-webpack-plugin/compatibility"}}