dr-static-assets v1.1.57-dev
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
Download resource-override for chrome
https://chrome.google.com/webstore/detail/resource-override/pkoacgokdfckfpndoffpifphamojphiiLoad the resource_override_rules.json by clicking the 'Options' button on the Resource Override page
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