mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
reverting the changes that failed the e2e tests. (#22714)
This commit is contained in:
parent
49418f1a63
commit
f26d14eef1
@ -1,23 +1,13 @@
|
||||
const { resolve } = require('path');
|
||||
const wp = require('@cypress/webpack-preprocessor');
|
||||
|
||||
const packageRoot = resolve(`${__dirname}/../../`);
|
||||
const packageModules = `${packageRoot}/node_modules`;
|
||||
|
||||
const webpackOptions = {
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
include: modulePath => {
|
||||
return modulePath.startsWith(packageRoot) && !modulePath.startsWith(packageModules);
|
||||
},
|
||||
test: /\.ts$/,
|
||||
use: [
|
||||
{
|
||||
loader: 'ts-loader',
|
||||
options: {
|
||||
configFile: `${__dirname}/../tsconfig.json`,
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
|
@ -1,8 +1,7 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"types": ["cypress"]
|
||||
},
|
||||
"extends": "@grafana/tsconfig",
|
||||
"extends": "../tsconfig.json",
|
||||
"include": ["**/*.ts"]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user