1.1.57-dev • Published 4 years ago

dr-static-assets v1.1.57-dev

Weekly downloads
1
License
ISC
Repository
-
Last release
4 years ago

dr-static-assets

Files get deployed to S3 "dr-static-assets-env" bucket

You can run npm run images to be able to see all the images in your browser at once!

They are accessible through these URLs:
https://dev.[shop|accelerate].dealer.com/static/folder/filename https://dev2.[shop|accelerate].dealer.com/static/folder/filename https://qa.[shop|accelerate].dealer.com/static/folder/filename
https://[shop|accelerate].dealer.com/static/folder/filename

where folder is the folder in this repository

Local Development

  1. Download resource-override for chrome
    https://chrome.google.com/webstore/detail/resource-override/pkoacgokdfckfpndoffpifphamojphii

  2. Load the resource_override_rules.json by clicking the 'Options' button on the Resource Override page Screenshot

  3. Run npm start after cloning this repository.

** Note for new SVGs You must install 'svgo' and run it to compress the SVG https://github.com/svg/svgo 1. $ sudo npm install -g svgo 2. svgo test.svg