Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@enonic/esbuild-server-side-js

Package Overview
Dependencies
Maintainers
4
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@enonic/esbuild-server-side-js

Make it easy to esbuild server side js for Enonic XP

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
4
Created
Source

Esbuild server-side javascript for Enonic XP

Install

yarn add --dev @enonic/esbuild-server-side-js

Usage

Make a file named esbuild.mjs containing:

import {esbuildServerSideJs} from '@enonic/esbuild-server-side-js';

esbuildServerSideJs({
	shims: [
		'src/main/resources/lib/nashorn/global.es'
	]
});

In build.gradle

plugins {
	id 'com.github.node-gradle.node' version '2.2.4'
}

node {
	download = true
	version = '14.10.1'
}

yarn.dependsOn(yarn_install)

task esbuild(type: NodeTask) {
	script file('esbuild.mjs')
}

processResources {
	dependsOn esbuild
	mustRunAfter esbuild
	exclude '**/*.es'
}

Changelog

0.1.0

  • Handle externals

Keywords

FAQs

Package last updated on 14 Sep 2020

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