1.0.0 • Published 5 years ago

git-submodule-preserve v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

git-submodule-preserve Build Status

nuxt module for preserving git submodule in generated static apps

❓ Why

By default nuxt generate command, which is responsible for creating static web apps, remove the entire target folder at regeneration. This may be an issue if you decided to split your source code from generated code and version/store them on seperate git repositories (git submodules). This module gives you the ability to preserve the git submodule at your production folder.

🖥 Usage

# install using your favourite package manager
npm install git-submodule-preserve -D
# or
yarn add git-submodule-preserve -D

💡 It is highly recommended to use this module under buildModules in your nuxt.config.js file and install as a devDependency for a faster production startup and smaller node_modules size.

📕 License

MIT


Erdem Bircan (c) 2019