Arpack: A Webpack plugin for uploading static assets to the permaweb
Arpack is a small webpack plugin to upload static assets to the Arweave permaweb. The user only needs to specify a path to an AR wallet and to the assets folder in the webpack config file.
Installation
It's as easy as:
sudo npm install arpack
Usage
You'll need an Arweave wallet for authenticating.
webpack.config.js
file:
Use the following configuration in your const Arpack = ;const path = ; var config = plugins: walletPath: "./wallet.json" // path to your AR wallet uploadPath: "./static" // path to your assets folder appName: "Arpack-test" // App name to be used for tagging assets moduleexports = config;