@chialab/esbuild-plugin-html
Advanced tools
Comparing version 0.4.7 to 0.4.9
@@ -23,3 +23,3 @@ import path from 'path'; | ||
*/ | ||
export function htmlPlugin({ esbuild = esbuildModule } = {}) { | ||
export default function({ esbuild = esbuildModule } = {}) { | ||
/** | ||
@@ -26,0 +26,0 @@ * @type {import('esbuild').Plugin} |
{ | ||
"name": "@chialab/esbuild-plugin-html", | ||
"type": "module", | ||
"version": "0.4.7", | ||
"version": "0.4.9", | ||
"description": "A HTML loader plugin for esbuild.", | ||
@@ -15,2 +15,9 @@ "main": "lib/index.js", | ||
}, | ||
"keywords": [ | ||
"esbuild", | ||
"plugin", | ||
"html", | ||
"webapp", | ||
"bundle" | ||
], | ||
"scripts": { | ||
@@ -35,3 +42,3 @@ "types": "tsc", | ||
}, | ||
"gitHead": "2003dea32d049df4741c757711bf81ec523c3f12" | ||
"gitHead": "ddc9c7884ec3029429c931536e81917cc5ce0024" | ||
} |
@@ -115,3 +115,3 @@ <p align="center"> | ||
import esbuild from 'esbuild'; | ||
import { htmlPlugin } from '@chialab/esbuild-plugin-html'; | ||
import htmlPlugin from '@chialab/esbuild-plugin-html'; | ||
@@ -118,0 +118,0 @@ await esbuild.build({ |
@@ -10,3 +10,3 @@ /** | ||
*/ | ||
export function htmlPlugin({ esbuild }?: { | ||
export default function _default({ esbuild }?: { | ||
esbuild?: typeof esbuildModule | undefined; | ||
@@ -13,0 +13,0 @@ }): esbuildModule.Plugin; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37783