# This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # include $(TOPDIR)/rules.mk PKG_NPM_NAME:=browserify PKG_NAME:=node-$(PKG_NPM_NAME) PKG_VERSION:=17.0.0 PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz PKG_SOURCE_URL:=https://mirrors.tencent.com/npm/$(PKG_NPM_NAME)/-/ \ https://registry.npmjs.org/$(PKG_NPM_NAME)/-/ PKG_HASH:=eb5ad5e74bf7e35a1d96e035a0d0ac9d9061cca396415b562c9400a50c0abbea PKG_MAINTAINER:=Hirokazu MORIKAWA PKG_LICENSE:=MIT PKG_LICENSE_FILES:=LICENSE HOST_BUILD_DEPENDS:=node/host HOST_BUILD_PARALLEL:=1 PKG_BUILD_DEPENDS:=node/host PKG_BUILD_PARALLEL:=1 PKG_USE_MIPS16:=0 include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/package.mk define Package/node-browserify SUBMENU:=Node.js SECTION:=lang CATEGORY:=Languages TITLE:=browser-side require() the node way URL:=https://www.npmjs.org/package/browserify DEPENDS:=+node endef define Package/node-browserify/description browserify will recursively analyze all the require() calls in your app in order to build a bundle you can serve up to the browser in a single