New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

hexo-esbuild

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hexo-esbuild

Transform JavaScript, CSS, TypeScript, and JSX files via esbuild transform API.

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

hexo-esbuild

Transform JavaScript, CSS, TypeScript, and JSX files via esbuild Transformer API.

Install

NPM Version node-lts NPM License NPM Downloads NPM Downloads Libraries.io dependency status for latest release

pnpm add hexo-esbuild

# npm i hexo-esbuild

Configuration

Default Configuration

Defined in src/default_config.ts

hexo_esbuild:
  enable: true # boolean. enable hexo-esbuild.
  js: # the filter option for js.
    enable: true # boolean. enable js filter.
    after_render: "js" # string. hexo filter hook. support https://hexo.io/api/filter#after-render
    priority: 999 # number. hexo filter priority. Lower priority means that it will be executed first
    exclude: # Array<string>. exclude files to be transformed. which will be passed to `micromatch`.
      - "**.min.js"
    esbuildTransformOptions: # the TransformOptions of esbuild. https://esbuild.github.io/api/#transform
      loader: "js"
      minify: true
      logLevel: "warning"
  css:
    enable: true
    after_render: "css"
    priority: 999
    exclude:
      - "**.min.css"
    esbuildTransformOptions:
      loader: "css"
      minify: true
      logLevel: "warning"
# add more configuration if you want.

Keywords

FAQs

Package last updated on 18 Feb 2025

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc