1.0.0 • Published 6 years ago
git-submodule-preserve v1.0.0
git-submodule-preserve 
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
buildModulesin yournuxt.config.jsfile and install as adevDependencyfor a faster production startup and smallernode_modulessize.
📕 License
MIT
Erdem Bircan (c) 2019
1.0.0
6 years ago