Releases: FranckFreiburger/vue3-sfc-loader
v0.9.5
Notable changes:
- handle resource path containing a query string
- update docs generation tools
for more details, see CHANGELOG.md
Full Changelog: v0.9.4...v0.9.5
v0.9.4
Notable changes:
- add support for asynchronous style processors (like sass)
- set package exports to support nodejs, vitejs, webpack and CDN
for more details, see CHANGELOG.md
Full Changelog: v0.9.3...v0.9.4
v0.9.3
Notable changes:
- add
browser
field topackage.json
for more details, see CHANGELOG.md
Full Changelog: v0.9.2...v0.9.3
v0.9.2
Notable changes:
- add nodejs bundles
for more details, see CHANGELOG.md
Full Changelog: v0.9.1...v0.9.2
v0.9.1
Notable changes:
- fix
compiledCache
management - update browserslist to support 90% browser global audience coverage
- update compiler-sfc to v3.4.13
for more details, see CHANGELOG.md
Full Changelog: v0.9.0...v0.9.1
v0.9.0
Notable changes:
- remove IE11 support
- handle .ts files and lang="ts" in .vue files
- add isCustomElement option
- add devMode option
- fix support of
export * from ...
for more details, see CHANGELOG.md
enhanced non-ES6 browsers support
Notable changes:
- enhanced non-ES6 browsers support (including IE 11, only through
vue2-sfc-loader.js
) - allow
core-js
to pollute global namespace
for more details, see CHANGELOG.md
non-polluting polyfills + better IE11 support
Notable changes:
- Avoid polluting global namespace using babel-polyfills
- Further increase IE 11 support (for vue2-sfc-loader only)
for more details, see CHANGELOG.md
IE 11
Notable changes:
- Increase IE 11 support (for vue2-sfc-loader only)
for more details, see CHANGELOG.md
v0.8.0
breaking changes:
getFile() will continue to support a simple string as return value but the object form is now { type, getContentData }
instead of { type, content }
This mean that, since v0.8.0, and only if your options.getFile
returns an object, then you have to use :
async getFile(url) {
const res = await fetch(url);
if ( !res.ok )
throw Object.assign(new Error(res.statusText + ' ' + url), { res });
return {
getContentData: asBinary => asBinary ? res.arrayBuffer() : res.text(),
}
},
instead of
async getFile(url) {
const res = await fetch(url);
if ( !res.ok )
throw Object.assign(new Error(res.statusText + ' ' + url), { res });
return await res.text();
},
for more details, see CHANGELOG.md