v3.0.3
v3.0.3
- Restructure sources to be more friendly for Tree Shaking in consumers of the library.
- Use
esbuild
instead ofbabel
. - Update examples.
BREAKING CHANGES:
ES modules:
When using ES modules, the default is now to reference src/index.js
. This will require consumers to be able to handle SFC .vue
files.
For example:
{
module: {
rules: [
{
test: /\.vue$/,
loader: 'vue-loader',
},
// more rules...
];
}
}
To use the esm bundle (the previous default) update your build process.
For example using webpack
add a resolve option:
{
resolve: {
alias: {
'vue-material-adapter$': 'vue-material-adapter/dist/vue-material-adapter.esm.js'
}
}
}
Source references:
Source path has changed from package
to src
. Update any explicit imports of sub-components.