{"library":"raw-loader","type":"library","category":null,"description":"Webpack loader that imports files as a string. Current stable version 4.0.2 (2020-10-09), maintained by webpack-contrib. Supports webpack 4 and 5. Key differentiator: minimal, zero-config loader for raw text files. Alternatives like file-loader or url-loader create separate files; raw-loader inlines content as a string. Enables ES module or CommonJS output via the `esModule` option (default true, changed in v4.0.0). Requires Node >= 10.13.0.","language":"javascript","status":"active","version":"4.0.2","tags":["javascript","webpack"],"install":[{"cmd":"npm install raw-loader","imports":["import txt from './file.txt';","import txt from 'raw-loader!./file.txt';","module.exports = { module: { rules: [ { test: /\\.txt$/i, use: 'raw-loader' } ] } };"]},{"cmd":"yarn add raw-loader","imports":[]},{"cmd":"pnpm add raw-loader","imports":[]}],"homepage":null,"github":"https://github.com/webpack-contrib/raw-loader","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/raw-loader","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/raw-loader/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Fri Jul 24","install_tag":null}}