Skip to content

Commit

Permalink
fix: transpile @vue/composition-api
Browse files Browse the repository at this point in the history
* you can now remove `@vue/composition-api` from your dependencies
* this allows us to track a particular beta version more closely to prevent future breaking changes

closes #241, #238

BREAKING CHANGES: you should remove `@vue/composition-api` from your dependencies
  • Loading branch information
danielroe committed Sep 17, 2020
1 parent f11066d commit 4c240f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ const compositionApiModule: Module<any> = function () {

this.options.build.transpile = this.options.build.transpile || []
this.options.build.transpile.push(/@nuxtjs[\\/]composition-api/)
this.options.build.transpile.push(/@vue[\\/]composition-api/)

this.extendBuild(config => {
config.resolve = config.resolve || {}
Expand Down

0 comments on commit 4c240f8

Please sign in to comment.