Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.

Commit

Permalink
fix: expect moduleIdentifier in assemble step
Browse files Browse the repository at this point in the history
  • Loading branch information
znck committed Oct 30, 2017
1 parent 043f54b commit 0ba6e8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ declare module VueComponentCompiler {
normalizeComponent?: string // vue-component-compiler/src/normalize-component.js
}
scopeId: string // same as scopeId of style compiler.
moduleIdentifier?: string // autogenerated
moduleIdentifier?: string // ~ used in SSR
isHot?: boolean // false
isServer?: boolean // false
isProduction?: boolean // true
Expand Down
2 changes: 1 addition & 1 deletion src/assemble.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ module.exports = function assemble (source, filename, config) {
normalizeComponent: 'vue-component-compiler/src/runtime/normalize-component'
},
scopeId: null,
moduleIdentifier: config.moduleIdentifier || hash(_s({ filename, config })), // require for server. TODO: verify this is correct.
moduleIdentifier: null,
isHot: false,
isServer: false,
isProduction: true,
Expand Down

0 comments on commit 0ba6e8b

Please sign in to comment.