Skip to content

Conversation

peterbud
Copy link
Contributor

Few suggested changes:

  • Updated npm run clean script: it will not remove node_modules folder, only removes dist folder. Advantage: you can avoid lengthy install process after npm run clean
  • Added a new deep-clean script, which does remove the node_modules, but TBH I have never seen such approach in practice (aka removal of node_modules) elsewhere, so it's up to you whether to keep this or remove it as it's not really needed
  • In the build process we don't need tsc --emitDeclarationOnly... as we have the dts() plugin in place which generates the d.ts files - advantage is a faster build and build script won't pollute the source folders with generated d.ts files
  • I suggest following the canonical practice and expose the types in the types folder. dts() plugin now generates types in that folder.

LMK what you think

@netlify
Copy link

netlify bot commented Nov 11, 2022

Deploy Preview for anu-vue ready!

Name Link
🔨 Latest commit 9f344ef
🔍 Latest deploy log https://app.netlify.com/sites/anu-vue/deploys/63709f1295f012000a8bb945
😎 Deploy Preview https://deploy-preview-69--anu-vue.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@jd-solanki
Copy link
Owner

Thanks for the improvement ❤️

Everything is perfect as it should be. certainly, we can remove deep-clean method, I just added it for my convenience.

Awaiting your change 😇

@jd-solanki jd-solanki merged commit a779c84 into jd-solanki:main Nov 13, 2022
@peterbud peterbud deleted the build-fix branch November 13, 2022 12:12
jd-solanki pushed a commit to brojor/anu that referenced this pull request Nov 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants