Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/vue-build
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ if (options.mount === undefined && !options.lib && /\.vue$/.test(options.entry))
// otherwise use it directly as webpack entry
if (options.mount) {
webpackConfig.entry.client.push(path.join(__dirname, '../lib/default-entry.es6'))
webpackConfig.resolve.alias['your-tasteful-component'] = options.entry
webpackConfig.resolve.alias['your-tasteful-component'] = path.resolve(process.cwd(), options.entry)
} else {
webpackConfig.entry.client.push(options.entry)
}
Expand Down