/esbuild-plugin-raw-loader

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

Primary LanguageTypeScriptMIT LicenseMIT

esbuild-plugin-raw-loader npm

Installation

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

Usage

Add it to esbuild plugins

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

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

License

MIT

Copyright (c) 2021-present,

Riots