Closed larsvanbraam closed 5 years ago
In that case I'm afraid we need to remove the individual page file instead, as there doesn't seem to be an option in shelljs/node-glob to do a match+ignore in a single pattern.
Or maybe we can split them up into separate folders? One for pages and one for the variables?
Edit: For now we'll just update the clean script to remove the following files:
home.yaml
about.yaml
test.js
When you run the
yarn clean:boilerplate
all the boilerplate code is removed and this includes thesrc/data/_variables.yaml
file.https://github.com/mediamonks/muban/blob/3cb0f3d071dc896130303e6750d9769be6915ecb/build-tools/script/cleanup.js#L39
The
src/app/bootstrap.dev.ts
file still requires this file and this causes the application to break!