Brunobkr/llama.cpp_AlgMor24_github
ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.
03.1k
1# Webpack Virtual Modules2 3[![npm version][npm-version-src]][npm-version-href]4[![npm downloads][npm-downloads-src]][npm-downloads-href]5[![License][license-src]][license-href]6 7**Webpack Virtual Modules** is a plugin that allows for dynamical generation of in-memory virtual modules for JavaScript8builds created with webpack. When virtual module is created all the parent virtual dirs that lead to the module filename are created too. This plugin supports watch mode meaning any write to a virtual module is seen by webpack as9if a real file stored on disk has changed.10 11## Installation12 13Use NPM or Yarn to install Webpack Virtual Modules as a development dependency:14 15```bash16# with NPM17npm install webpack-virtual-modules --save-dev18 19# with Yarn20yarn add webpack-virtual-modules --dev21```22 23## Usage24 25You can use Webpack Virtual Modules with webpack 5, 4 and 3. The examples below show the usage with webpack 5 or 4. If you want to use our plugin with webpack 3, check out a dedicated doc:26 27* [Webpack Virtual Modules with Webpack 3]28 29### Generating static virtual modules30 31Require the plugin in the webpack configuration file, then create and add virtual modules in the `plugins` array in the32webpack configuration object:33 34```js35var VirtualModulesPlugin = require('webpack-virtual-modules');36 37var virtualModules = new VirtualModulesPlugin({38 'node_modules/module-foo.js': 'module.exports = { foo: "foo" };',39 'node_modules/module-bar.js': 'module.exports = { bar: "bar" };'40});41 42module.exports = {43 // ...44 plugins: [45 virtualModules46 ]47};48```49 50You can now import your virtual modules anywhere in the application and use them:51 52```js53var moduleFoo = require('module-foo');54// You can now use moduleFoo55console.log(moduleFoo.foo);56```57 58### Generating dynamic virtual modules59 60You can generate virtual modules **_dynamically_** with Webpack Virtual Modules.61 62Here's an example of dynamic generation of a module. All you need to do is create new virtual modules using the plugin63and add them to the `plugins` array. After that, you need to add a webpack hook. For using hooks, consult [webpack64compiler hook documentation].65 66```js67var webpack = require('webpack');68var VirtualModulesPlugin = require('webpack-virtual-modules');69 70// Create an empty set of virtual modules71const virtualModules = new VirtualModulesPlugin();72 73var compiler = webpack({74 // ...75 plugins: [76 virtualModules77 ]78});79 80compiler.hooks.compilation.tap('MyPlugin', function(compilation) {81 virtualModules.writeModule('node_modules/module-foo.js', '');82});83 84compiler.watch();85```86 87In other module or a Webpack plugin, you can write to the module `module-foo` whatever you need. After this write,88webpack will "see" that `module-foo.js` has changed and will restart compilation.89 90```js91virtualModules.writeModule(92 'node_modules/module-foo.js',93 'module.exports = { foo: "foo" };'94);95```96 97## More Examples98 99 - [Swagger and JSDoc Example with Webpack 5]100 - [Swagger and JSDoc Example with Webpack 4]101 - [Swagger and JSDoc Example with Webpack 3]102 103## API Reference104 105 - [API Reference]106 107## Inspiration108 109This project is inspired by [virtual-module-webpack-plugin].110 111## License112 113Copyright © 2017 [SysGears INC]. This source code is licensed under the [MIT] license.114 115[webpack virtual modules with webpack 3]: https://github.com/sysgears/webpack-virtual-modules/tree/master/docs/webpack3.md116[webpack compiler hook documentation]: https://webpack.js.org/api/compiler-hooks/117[swagger and jsdoc example with webpack 3]: https://github.com/sysgears/webpack-virtual-modules/tree/master/examples/swagger-webpack3118[swagger and jsdoc example with webpack 4]: https://github.com/sysgears/webpack-virtual-modules/tree/master/examples/swagger-webpack4119[swagger and jsdoc example with webpack 5]: https://github.com/sysgears/webpack-virtual-modules/tree/master/examples/swagger-webpack5120[api reference]: https://github.com/sysgears/webpack-virtual-modules/tree/master/docs/API%20Reference.md121[virtual-module-webpack-plugin]: https://github.com/rmarscher/virtual-module-webpack-plugin122[MIT]: LICENSE123[SysGears INC]: http://sysgears.com124 125<!-- Badges -->126[npm-version-src]: https://img.shields.io/npm/v/webpack-virtual-modules?style=flat127[npm-version-href]: https://npmjs.com/package/webpack-virtual-modules128[npm-downloads-src]: https://img.shields.io/npm/dm/webpack-virtual-modules?style=flat129[npm-downloads-href]: https://npmjs.com/package/webpack-virtual-modules130[license-src]: https://img.shields.io/github/license/sysgears/webpack-virtual-modules.svg?style=flat131[license-href]: https://github.com/sysgears/webpack-virtual-modules/blob/main/LICENSE132 