Releases: intervalia/component-build-tools
Minor bug fixes
Getting things fixed to run on Windows:
Fixed tests to run on Windows as well as other OSs.
Handle windows path.join() with inclusion of drive letter: C:\
Revert to simple minification if html-minify fails.
Updated version and docs
Getting ready for 3.0 version
● Preventing backwards compatibility errors and getting ready for version 3.0.0
● Moved source files to lib folder.
● Added index.js.
● Cleaned up and improved documentation.
● Now using rollup as a sub-object for require.
● Added html-minifier to better minify the templates
● Instead of just {} and {rollup} we now use {components:{rollup{}}} when exporting from index.js
● Corrected Code Coverage reports and improved coverage.
Bug fix
Correcting a bug that stopped setting the name for IIF output files.
Changed to Glob paths and added individual distPaths
Breaking Changes!!
● Removed the escaping of the back-tick in templates. This was preventing sub-ES6 Template Literals in the templates.
● You now must list the source folders. In most cases you would change from srcPath: "modules/src" to srcPath: "modules/src/*"
● Changed default build types from MJS and IIFE to MJS and CJS since these can both be loaded in a similar manner.
● addKELocale is now false by default
● alwaysReturnFile is now false by default.
● defaultLocaleVariable is now set to document.documentElement.lang which is the value set in the lang attribute of the tag: would use fr as the default value when getting the lang object.
● includePath is now false by default.
● New config options dstExtCJS, dstExtCJS5, dstExtIIFE, dstExtIIFE5 and dstExtMJS allow you to set the output extension for the various output file types.
● Added ability for distPath to be an object and not just a string.
● Added and cleaned up Docs
● Added more testing for the new code.
`import` support in the templates.
Added TravisCI and Code Climate support
Added ESLint
Cleaned up code for ESLint and Code Climate Happiness
Improved Docs.
Removal of debugging console output
and setting up a pre-commit hook to run tests.
Initial Release
Proper unit Tests and Docs