You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the Bootstrap repo is in static or files, the entire repo gets copied to the out directory. This wastes space and time (about 90 seconds per generate for me) and is generally not a good idea.
I looked at docpad-plugin-raw but it does not seem to support the customized output folder required--unless you want to use the command option.
I haven't tested the last part of Workaround 2 yet. It does offer the advantage of keeping the Bootstrap fonts and js current if you update Bootstrap.
Some sites don't need all the Bootstrap js features. A better workaround would be on that can customize bootstrap.min.js to include only the necessary js files.
The text was updated successfully, but these errors were encountered:
If the Bootstrap repo is in static or files, the entire repo gets copied to the out directory. This wastes space and time (about 90 seconds per generate for me) and is generally not a good idea.
Workaround 1
Edit src/documents/styles/twitter-bootstrap.css.less to import from ../../norender/vendor instead of ../../files/vendor
Workaround 2
Use docpad-plugin-copy (npm) to copy font and js files. (untested)
Based on the README, add something like this to docpad.coffee
I looked at docpad-plugin-raw but it does not seem to support the customized output folder required--unless you want to use the command option.
I haven't tested the last part of Workaround 2 yet. It does offer the advantage of keeping the Bootstrap fonts and js current if you update Bootstrap.
Some sites don't need all the Bootstrap js features. A better workaround would be on that can customize bootstrap.min.js to include only the necessary js files.
The text was updated successfully, but these errors were encountered: