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

elderjs-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

elderjs-esbuild

A very PoC tool to build Elder.js sites faster with esbuild

  • 0.0.4
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Elder.js esbuild

This is a tool I'm using on my own projects. It will change, it will break, I may even abandon it, use it at your own risk.

In your elder.js project:

  1. npm i --save elderjs-esbuild
  2. create bundle.js with require('elderjs-esbuild').default();
  3. node bundle.js

todo:

  • hashed components (esbuild is tracking)
  • look at adding an additional export with _css to see if we can match Elder.js's current output. (basically impossible with current api)
  • clean folder on initial build.
  • remove dependencies/css on deletion of a svelte file.
  • move css to a cache with sourcemaps instead of reading them from the file.
  • modules with exported svelte files.
  • rebundle the entire dependency tree on sub module change. (elder.js plugins with templates can use this same pattern.)
  • clean up memory of caches.
  • basic preprocess support....
  • make sure that the css file is emitted to the right folder.

FAQs

Package last updated on 05 Feb 2021

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