mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 03:31:45 +08:00
test: add jest and simple spec
This commit is contained in:
@ -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 {};
|
||||
}
|
||||
|
Reference in New Issue
Block a user