Define an npm script
"build":" "ng build"
and add the postbuild script, too.
"postbuild": "cpx ./package.json ./dist/",
This way the copy script gets called after you run npm run build
.
Define an npm script
"build":" "ng build"
and add the postbuild script, too.
"postbuild": "cpx ./package.json ./dist/",
This way the copy script gets called after you run npm run build
.