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.
It's as easy as:
sudo npm install arpack
You'll need an Arweave wallet for authenticating.
Use the following configuration in your
const Arpack = ;const path = ;var config =plugins:walletPath: "./wallet.json" // path to your AR walletuploadPath: "./static" // path to your assets folderappName: "Arpack-test" // App name to be used for tagging assetsmoduleexports = config;