An open API service indexing awesome lists of open source software.

https://github.com/divriots/esbuild-plugin-raw-loader

Adds !!raw-loader! webpack syntax support to esbuild
https://github.com/divriots/esbuild-plugin-raw-loader

Last synced: 10 months ago
JSON representation

Adds !!raw-loader! webpack syntax support to esbuild

Awesome Lists containing this project

README

          

# esbuild-plugin-raw-loader [![npm](https://img.shields.io/npm/v/esbuild-plugin-raw-loader.svg)](https://www.npmjs.com/package/esbuild-plugin-raw-loader)

### Installation

```
npm install --save-dev esbuild-plugin-raw-loader
```

### Usage

Add it to esbuild plugins

```js
import rawLoaderPlugin from 'esbuild-plugin-raw-loader';

const buildOptions = {
plugins: [rawLoaderPlugin()]
}
```

### License

[MIT](https://opensource.org/licenses/MIT)

Copyright (c) 2021-present,

Riots