Open mattdell opened 7 years ago
Seems the cause is from
webpackConfig.output = {
filename: `[name].[${config.compiler_hash_type}].js`,
path: paths.dist(),
publicPath: config.compiler_public_path,
};
The publicPath
entry is what does it. Removing it seems to fix the issue and continues to run locally running npm start
. Is that setting needed for something that I'm not seeing?
Expected behaviour
When I run
npm run deploy
I expect an index.html to be generated with relative paths to my assets.Actual behaviour
When I run
npm run deploy
my index.html file contains a fully qualified path to a resource on my local machine, such asI would expect the following
Because of this, I cannot deploy the resulting files.