Commit f26d14ee by Marcus Andersson Committed by GitHub

reverting the changes that failed the e2e tests. (#22714)

parent 49418f1a
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`,
},
},
],
},
......
{
"compilerOptions": {
"module": "commonjs",
"types": ["cypress"]
},
"extends": "@grafana/tsconfig",
"extends": "../tsconfig.json",
"include": ["**/*.ts"]
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment