2019-01-24 20:15:10 +00:00
|
|
|
// Copyright (C) 2019 Storj Labs, Inc.
|
2018-11-27 12:16:52 +00:00
|
|
|
// See LICENSE for copying information.
|
|
|
|
|
2019-07-30 11:13:24 +01:00
|
|
|
const path = require('path');
|
|
|
|
|
2018-11-05 15:26:18 +00:00
|
|
|
module.exports = {
|
2019-07-30 11:13:24 +01:00
|
|
|
publicPath: "/static/dist",
|
|
|
|
productionSourceMap: false,
|
|
|
|
parallel: true,
|
2018-11-05 15:26:18 +00:00
|
|
|
chainWebpack: config => {
|
2019-07-30 11:13:24 +01:00
|
|
|
config.resolve.alias
|
|
|
|
.set('@', path.resolve('src'));
|
2019-06-18 14:36:54 +01:00
|
|
|
|
2019-07-30 11:13:24 +01:00
|
|
|
config
|
|
|
|
.plugin('html')
|
|
|
|
.tap(args => {
|
|
|
|
args[0].template = './index.html';
|
|
|
|
return args
|
|
|
|
});
|
|
|
|
}
|
|
|
|
};
|