loader-runner

WebJar for loader-runner

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

loader-runner
Последняя версия

Последняя версия

4.1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

loader-runner
WebJar for loader-runner
Ссылка на сайт

Ссылка на сайт

https://www.webjars.org
Система контроля версий

Система контроля версий

https://github.com/webpack/loader-runner

Скачать loader-runner

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/loader-runner/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>loader-runner</artifactId>
    <version>4.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/loader-runner/
implementation 'org.webjars.npm:loader-runner:4.1.0'
// https://jarcasting.com/artifacts/org.webjars.npm/loader-runner/
implementation ("org.webjars.npm:loader-runner:4.1.0")
'org.webjars.npm:loader-runner:jar:4.1.0'
<dependency org="org.webjars.npm" name="loader-runner" rev="4.1.0">
  <artifact name="loader-runner" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='loader-runner', version='4.1.0')
)
libraryDependencies += "org.webjars.npm" % "loader-runner" % "4.1.0"
[org.webjars.npm/loader-runner "4.1.0"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

loader-runner

import { runLoaders } from "loader-runner";

runLoaders({
	resource: "/abs/path/to/file.txt?query",
	// String: Absolute path to the resource (optionally including query string)

	loaders: ["/abs/path/to/loader.js?query"],
	// String[]: Absolute paths to the loaders (optionally including query string)
	// {loader, options}[]: Absolute paths to the loaders with options object

	context: { minimize: true },
	// Additional loader context which is used as base context

	readResource: fs.readFile.bind(fs)
	// A function to read the resource
	// Must have signature function(path, function(err, buffer))

}, function(err, result) {
	// err: Error?

	// result.result: Buffer | String
	// The result

	// result.resourceBuffer: Buffer
	// The raw resource as Buffer (useful for SourceMaps)

	// result.cacheable: Bool
	// Is the result cacheable or do it require reexecution?

	// result.fileDependencies: String[]
	// An array of paths (files) on which the result depends on

	// result.contextDependencies: String[]
	// An array of paths (directories) on which the result depends on
})

More documentation following...

org.webjars.npm

webpack

Версии библиотеки

Версия
4.1.0
3.0.0
2.4.0
2.3.1
2.3.0
2.1.1