test(component): enable (#206)

This commit is contained in:
Christoffer Åström
2019-12-03 14:08:46 +01:00
committed by GitHub
parent 490a901f2c
commit 08f7e4dcf8
6 changed files with 59 additions and 5 deletions

View File

@@ -60,7 +60,8 @@ module.exports = async ({
warnings: false,
errors: true,
},
quiet: true,
quiet: false,
noInfo: true,
open,
contentBase: [contentBase],
historyApiFallback: {
@@ -108,11 +109,13 @@ module.exports = async ({
context: '/render',
target: `http://${host}:${port}/eRender.html`,
ignorePath: true,
logLevel: 'error',
},
{
context: '/dev',
target: `http://${host}:${port}/eDev.html`,
ignorePath: true,
logLevel: 'error',
},
],
watchOptions: {
@@ -120,8 +123,6 @@ module.exports = async ({
},
};
console.log('Starting development server...');
WebpackDevServer.addDevServerEntrypoints(config, options);
const compiler = webpack(config);
const server = new WebpackDevServer(compiler, options);
@@ -150,7 +151,7 @@ module.exports = async ({
if (!initiated) {
initiated = true;
const url = `http://${host}:${port}`;
console.log(`...running at ${chalk.green(url)}`);
console.log(`Development server running at ${chalk.green(url)}`);
resolve({
context: '',