mageops / docker-magento-advanced-js-bundling

Dockerized MageSuite MagePack advanced JS asset bundler for Magento

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dockerized MageSuite MagePack advanced JS asset bundler for Magento

A dockerized execution environment to make your build system clean of unnecessary dependencies.

Caution! Avoid using the docker :latest tag as it might be unusable, use :stable instead as it's built from the stable tagged versions.

Prerequisites

  • Make sure that your magepack configuration is present in the project's root directory in file named exactly build.js.
  • Before running this command your Magento static assets should already be deployed and present in the subdirectory pub/static/frontend/{name-of-your-theme-vendor}.

Usage

Go to the root directory of your Magento project and execute:

docker run -v ${PWD}:/workdir  -u $(id -u `whoami`):$(id -g `whoami`) magesuite/bundle-theme-js:stable "{name-of-your-theme-vendor}"

About

Dockerized MageSuite MagePack advanced JS asset bundler for Magento


Languages

Language:Shell 61.7%Language:Dockerfile 38.3%