mirror of
https://github.com/Haiti-Distributed-Healthcare-System/hdhs.git
synced 2026-10-28 10:26:06 +00:00
27 lines
387 B
JavaScript
27 lines
387 B
JavaScript
const wp = require('@cypress/webpack-preprocessor')
|
|
|
|
const webpackOptions = {
|
|
resolve: {
|
|
extensions: ['.ts', '.js']
|
|
},
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.ts$/,
|
|
exclude: [/node_modules/],
|
|
use: [
|
|
{
|
|
loader: 'ts-loader'
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|
|
const options = {
|
|
webpackOptions
|
|
}
|
|
|
|
module.exports = wp(options)
|