Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Commit 8425d73

Browse files
committed
fix(Vue): resolve full path for entry module
fixes #742
1 parent 7f67198 commit 8425d73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: templates/webpack.vue.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const { relative, resolve, sep } = require("path");
1+
const { relative, resolve } = require("path");
22

33
const webpack = require("webpack");
44
const CleanWebpackPlugin = require("clean-webpack-plugin");
@@ -56,7 +56,7 @@ module.exports = env => {
5656
const appResourcesFullPath = resolve(projectRoot, appResourcesPath);
5757

5858
const entryModule = nsWebpack.getEntryModule(appFullPath);
59-
const entryPath = `.${sep}${entryModule}`;
59+
const entryPath = resolve(appFullPath, entryModule);
6060
console.log(`Bundling application for entryPath ${entryPath}...`);
6161

6262
const config = {

0 commit comments

Comments
 (0)