Updated output public path to use root

no-issue

When installing this module in another project, we want to serve the
entire `dist` directory as-is, on whichever path we want, rather than
enforicing a /static after the relative part.
This commit is contained in:
Fabien O'Carroll 2019-05-07 14:26:58 +02:00
parent b31162b182
commit 3f71eccc77

View File

@ -11,7 +11,7 @@ export default function (config, env, helpers) {
});
if (env.production) {
config.output.publicPath = 'static/';
config.output.publicPath = '';
} else {
config.output.publicPath = 'http://localhost:8080/';
}