mirror of
https://github.com/hanzoai/grpc-web.git
synced 2026-10-30 18:35:37 +00:00
* Use Lerna to manage client modules
* Debug failing example build
* Disable Post Install Script for react example
* Derp
* Revert "Disable Post Install Script for react example"
This reverts commit f6c6ffc427f3e087e27da2eeeba1a36df0144735.
* Fix up some more relative paths.
* Fix up go tests.
* Fixup relative path to vendored go-files
* Fix go import
* Fix path to test-server startup
* Move integration tests into their own folder
* Fix test.sh
* Fix pathing issue 🙏
31 lines
580 B
JavaScript
31 lines
580 B
JavaScript
const webpack = require('webpack');
|
|
const path = require('path');
|
|
|
|
module.exports = {
|
|
entry: "./src/index.ts",
|
|
mode: "development",
|
|
output: {
|
|
path: path.resolve(__dirname, 'build'),
|
|
filename: 'bundle.js'
|
|
},
|
|
devtool: 'inline-source-map',
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.ts$/,
|
|
include: /src|_proto/,
|
|
exclude: /node_modules/,
|
|
loader: "ts-loader"
|
|
}
|
|
]
|
|
},
|
|
resolve: {
|
|
extensions: [".ts", ".js"]
|
|
},
|
|
plugins: [
|
|
new webpack.DefinePlugin({
|
|
'USE_TLS': process.env.USE_TLS !== undefined
|
|
})
|
|
]
|
|
};
|