Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
fix: use es module version of entrypoint in build
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Feb 9, 2021
1 parent d037d92 commit 72e753a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const compositionApiModule: Module<any> = function compositionApiModule() {
const globalNuxt = globalNuxtFactory(globalName)

const { dst: entryDst } = this.addTemplate({
src: resolve(libRoot, 'lib', 'entrypoint.js'),
src: resolve(libRoot, 'lib', 'entrypoint.es.js'),
fileName: join('composition-api', 'index.js'),
options: {
isFullStatic: 'isFullStatic' in utils && utils.isFullStatic(this.options),
Expand Down

0 comments on commit 72e753a

Please sign in to comment.