@chialab/esbuild-plugin-webpack-include

A plugin for esbuild that converts the webpackInclude syntax.

Usage no npm install needed!

<script type="module">
  import chialabEsbuildPluginWebpackInclude from 'https://cdn.skypack.dev/@chialab/esbuild-plugin-webpack-include';
</script>

README

Esbuild Plugin Webpack Include • A plugin for esbuild that converts the `webpackInclude` syntax.

NPM


Install

$ npm i @chialab/esbuild-plugin-webpack-include -D
$ yarn add @chialab/esbuild-plugin-webpack-include -D

Usage

import esbuild from 'esbuild';
import webpackIncludePlugin from '@chialab/esbuild-plugin-webpack-include';

await esbuild.build({
    plugins: [
        webpackIncludePlugin(),
    ],
});

License

Esbuild Plugin Webpack Include is released under the MIT license.