Skip to content

v3.0.3

Compare
Choose a tag to compare
@pgbross pgbross released this 15 Jul 11:45
· 137 commits to main since this release

v3.0.3

  • Restructure sources to be more friendly for Tree Shaking in consumers of the library.
  • Use esbuild instead of babel.
  • 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.