Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 824 Bytes

BUILD.md

File metadata and controls

26 lines (16 loc) · 824 Bytes

Building the plugin

This project uses npm scripts to lint, concat, and minify the JS used in this BigCommerce plugin.

Dependencies:

  • Node.js
  • npm
  • uglify-js
  • eslint

Setting up your development environment

  1. npm install -g uglifyjs eslint
  2. npm install

Once your dependencies are installed, please install EditorConfig in your development environment to avoid whitespace changes. See editorconfig.org for more.

Building the JS

  • npm run build or npm run build:production

Export

The generated file dist/shopify-v1-boot.min.js is usually exported to the AddressFinder API servers for hosting with the path https://api.addressfinder.io/assets/shopify/v1/boot.js.