Files
frontend-component-header/Makefile
Adam Butterworth afe6705ba5 fix: initial commit
2019-09-13 16:49:04 -04:00

8 lines
349 B
Makefile

build:
rm -rf ./dist
./node_modules/.bin/babel src --out-dir dist --source-maps --ignore **/*.test.jsx,**/__mocks__,**/__snapshots__,**/setupTest.js --copy-files
# --copy-files will bring in everything else that wasn't processed by babel. Remove what we don't want.
rm -rf dist/**/*.test.jsx
rm -rf dist/**/__snapshots__
rm -rf dist/__mocks__