Closed iarna closed 6 years ago
This will land in npm w/ multiple commits, but for our purposes here squashing seemed best.
npm i
assetDependencies
package.json
assets
package-lock.json
npm i --no-assets
npm i --only=prod
npm i --only=dev
npm i --only=assets
npm asset install asset-name
npm a i asset-name
npm asset rm asset-name
npm asset ls
This is currently the super naive implementation using regexp from assetize.
assetize
This will land in npm w/ multiple commits, but for our purposes here squashing seemed best.
Installation
npm i
installs fromassetDependencies
inpackage.json
andassets
section ofpackage-lock.json
npm i --no-assets
,npm i --only=prod
,npm i --only=dev
npm i --only=assets
Mutation
npm asset install asset-name
npm a i asset-name
npm asset rm asset-name
Listing
npm asset ls
Asset Rewriting
This is currently the super naive implementation using regexp from
assetize
.TODO