
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
@plutotcool/rollup-plugin-glsl-bundler
Advanced tools
Rollup plugin that allows imports of glsl files
Rollup plugin that allows imports of glsl files. Resolves import pragma and minifies glsl code using @plutotcool/glsl-bundler.
yarn add rollup-plugin-glsl-bundler --dev
// rollup.config.js
import { glslBundler } from '@plutotcool/rollup-plugin-glsl-bundler'
export default {
plugins: [
glslBundler({ /* options */ })
]
}
interface GLSLBundlerParameters {
/**
* Patterns of files that must be transformed by the plugin.
*
* Default: /\.(?:glsl|frag|vert)$/
*/
include?: (string | RegExp)[] | string | RegExp | null
/**
* Patterns of files that must not be transformed by the plugin.
*
* Default: null
*/
exclude?: (string | RegExp)[] | string | RegExp | null
/**
* Alternative custom filter function that determines if a file should be
* transformed by the plugin. If specified, the include and exclude parameters
* are ignored.
*
* Default: filter function created from include and exclude parameters
*/
filter?: (id: string) => boolean
/**
* Enable loader pragma
*
* Default: true
*/
loader?: boolean
/**
* Enable minifier or specify custom minify parameters
* Default: true
*/
minifier?: boolean | {
renameFunctions?: boolean
renameVariables?: boolean
renameDefines?: boolean
renameStructs?: boolean
trimComments?: boolean
trimSpaces?: boolean
trimZeros?: boolean
}
/**
* Additional transform functions to apply to glsl code
*/
transforms?: ((source: string) => Promise<string> | string)[]
}
FAQs
Rollup plugin that allows imports of glsl files
We found that @plutotcool/rollup-plugin-glsl-bundler demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.