Files
Jonny ReevesandGitHub 1557f06575 Use Lerna to manage client modules (#269)
* 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 🙏
2018-11-06 07:14:43 +00:00

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
})
]
};