🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

auto-pack

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auto-pack

Zero config webpack CLI.

0.2.3
latest
npm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

auto-pack

Webpack bundles. Polyfilled JS. No configuration.
This is a simple webpack wrapper. There is no config file required. It's just a node executable. Auto-pack runs webpack with the babel-loader, with babel-preset-latest and babel-plugin-transform-runtime.

Install:
yarn add auto-pack
or
npm install auto-pack --save

Run the bundler from an npm script:

"scripts": {
  "js": "auto-pack ./src/main.js -o ./dist"
}

Options:

  • --out, -o: directory to write your bundled files to
  • --resolve, -r: list of directories to resolve imports
  • --watch, -w: watch mode

This package is for simple JavaScript compilation targeted at browsers. It's intended as a convenience and simplicity. If you need more options, just use webpack directly. :)

Keywords

easy

FAQs

Package last updated on 14 Dec 2016

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