This is a simple template that uses craco to extend Create React App webpack configuration. Here is what it does:
- removes chunking
- removes hashing
for this reason we are better able to control the file we want to assign in our Drupal 8 custom module libraries.
npx create-react-app app --template drupal-pdb
We provide craco commands to run our custom overides; start-craco
, build-craco
, test-craco
.