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
- Host: GitHub
- URL: https://github.com/divriots/esbuild-plugin-raw-loader
- Owner: divriots
- License: mit
- Created: 2022-01-11T08:32:41.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-10-19T14:34:37.000Z (over 2 years ago)
- Last Synced: 2025-08-09T22:58:19.264Z (10 months ago)
- Language: TypeScript
- Size: 64.5 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# esbuild-plugin-raw-loader [](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