mirror of
https://github.com/hanzoai/grpc-web.git
synced 2026-10-30 18:35:37 +00:00
* Fix CI exit code reporting * Simplify local integration test usage * Fixed webpack compatibility with old browsers (safari 9) * Upgrade karma * Disabled websocket tests for old versions of firefox * Removed firefox 21 due to SSL incompatibility * Updated latest browser versions * Revert "added websocket transport to cancel propagation test (#904)"
42 lines
818 B
TypeScript
42 lines
818 B
TypeScript
const path = require("path");
|
|
const webpack = require("webpack");
|
|
module.exports = {
|
|
entry: "./src/spec.ts",
|
|
mode: "development",
|
|
target: "es5",
|
|
output: {
|
|
path: path.resolve(__dirname, "build"),
|
|
filename: "integration-tests.js"
|
|
},
|
|
plugins: [
|
|
new webpack.DefinePlugin({
|
|
"process.env": JSON.stringify(process.env),
|
|
}),
|
|
],
|
|
devtool: "source-map",
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.js$/,
|
|
include: /src/,
|
|
loader: "babel-loader",
|
|
exclude: /node_modules/
|
|
},
|
|
{
|
|
test: /\.ts$/,
|
|
include: [/src/, /_proto/],
|
|
exclude: /node_modules/,
|
|
loader: "ts-loader"
|
|
}
|
|
]
|
|
},
|
|
resolve: {
|
|
fallback: {
|
|
"http": false,
|
|
"https": false,
|
|
"url": false,
|
|
},
|
|
extensions: [".ts", ".js"]
|
|
}
|
|
};
|