- Uninstall old modules:
npm uninstall optimizer --save
npm uninstall optimizer-marko --save
- etc.
- Install new modules
npm install lasso --save
npm install lasso-marko --save
- etc.
- API changes
require('optimizer')
→require('lasso')
optimizer.optimizePage(...)
→lasso.lassoPage(...)
- Rename
optimizer.json
files tobrowser.json
- Rename
*.optimizer.json
files to*.browser.json
- Update Marko custom tags:
- Rename
<optimizer-page>
to<lasso-page>
- Rename
<optimizer-head>
to<lasso-head>
- Rename
<optimizer-body>
to<lasso-body>
- Rename
- browser.json changes
- remove unnecessary spacing: e.g. convert "require :" to "require:"
- Adds support for
noConflict
lasso configuration option
- Fixes lasso-js/lasso-minify-js#1 - Upgrade to the latest version of UglifyJS
- Fixes #82 - Make lasso a true singleton
- Minor correction in calculateConfigFingerprint code
- Added mask-define option for resource dependencies
- Changes to keep Lasso taglib compatible with older versions of
marko
- Upgraded the marko dev dependency
- Documentation: Improved docs
- Documentation: Improved docs
- Fixesd #77 - now works on the server and in the browser
- Builtin es6 support for
.es6
files - Documentation: Added docs for #77
- Only enable the browser-refresh special reloads once
- Add web fonts to browser-refresh
- Fixed circular require issues for browser-refresh
- browser-refresh is now auto enabled.
- Code and docs cleanup
- Fixed #76 Auto switch to development mode when browser-refresh is enabled
- Fixed #75 - Generate config cache key in a stable way
- Documentation: new plugin: lasso-autoprefixer: Autoprefix CSS with vendor prefixes using autoprefixer-core
- Documentation: Fixed #61 - Improve documentation for external resource dependencies
- Documentation: new third party plugin: lasso-clean-css
- Fixed #62 - Invalidate the default lasso instance on configure
- Fixed #57 - Allow non-JavaScript modules to be required:
require('lasso/node-require-no-op').enable('.less', '.css');
// ...
require('./style.less');
- Internal: Switched from "raptor-async/DataHolder" (deprecated) to "raptor-async/AsyncValue"
- Issue #48: Do not mangle bundle names
- Issue #49: Enhance LassoPageResult to fetch info by bundle name
- Renamed Optimizer to Lasso