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

@tarantool.io/lua-bundler-webpack-plugin

Package Overview
Dependencies
Maintainers
4
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tarantool.io/lua-bundler-webpack-plugin

Bundle to single Lua file with content of bundle as big Lua table with next semantic: ``` { { is_entry: Boolean, body: String(content of file), mime: String(mime-type of file), mode: String('plain' or 'base64') } } ```

  • 2.0.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
4
Weekly downloads
 
Created
Source

Lua Bundler Webpack Plugin

@tarantool.io/lua-bundler-webpack-plugin

Bundle to single Lua file with content of bundle as big Lua table with next semantic:

{
  {
    is_entry: Boolean,
    body: String(content of file),
    mime: String(mime-type of file),
    mode: String('plain' or 'base64')
  }
}

Install

npm i -s @tarantool.io/lua-bundler-webpack-plugin

Custom options

bundleName - output bundle path in your build directory.

namespace - namespace of your module. You should place your files under namespace in your build for exclude clash of namespacing with other modules.

entryRegExp - regExp for using some js files as entry. It's used by @tarantool-front/core rocks as entry files.

Example

plugins: [
....
new LuaBundlePlugin({
  bundleName: 'customBundleName.lua',
  namespace: 'cluster',
  entryRegExp: /main.+js$/
})
]

Defaults

bundleName = 'bundle.lua'
namespace = ''
entryRegExp = /main.+js$/

Keywords

FAQs

Package last updated on 08 Aug 2022

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