test: add jest and simple spec

This commit is contained in:
Igor Randjelovic
2020-11-14 14:14:36 +01:00
parent 49a47fef2a
commit e704f744b7
5 changed files with 62 additions and 23 deletions

View File

@ -1,15 +1,18 @@
import base from './base';
import Config from 'webpack-chain';
// todo: add base configuration for vue
export default function (env) {
const config = base(env);
const config = new Config().merge(base(env));
// todo: we may want to use webpack-chain internally
// to avoid "trying to read property x of undefined" type of issues
config.module.rules.push({
test: /.vue$/,
use: [],
});
/*
config.module.rules.push({
test: /.vue$/,
use: [],
});
*/
return {};
}