Description
Trying to minimize the changes between different BS versions, we can set a standard string (__BS_VERSION__
) inside javascript files and, delegate the replacement job to rollup
, while it creates the dist files
The same can be done at css
files, using postcss-replace
https://www.npmjs.com/package/postcss-replace
Type of changes
-
New feature (non-breaking change which adds functionality) -
Refactoring (non-breaking change)
Checklist
-
I have read the contributing guidelines -
My code follows the code style of the project (using npm run lint
) -
All new and existing tests passed
Live previews
https://deploy-preview-37494--twbs-bootstrap.netlify.app/
- open console and type
bootstrap.Alert.VERSION
. You will receive the proper version
Related issues
rel #35010 rel #37516