v1.0.3
- Changed package
typetomoduleto fix importing from native modules. - Added named export for better compatibility with
require():
import { glsl } from "esbuild-plugin-glsl";
const { glsl } = require("esbuild-plugin-glsl");
type to module to fix importing from native modules.require():import { glsl } from "esbuild-plugin-glsl";const { glsl } = require("esbuild-plugin-glsl");