This repository has been archived on 2023-04-09. You can view files and clone it, but cannot push or open issues or pull requests.
chainsafe-bls/webpack.config.js

22 lines
442 B
JavaScript
Raw Normal View History

2019-12-11 09:02:08 +00:00
module.exports = {
2020-01-31 10:17:26 +00:00
entry: "./src/index.ts",
2020-12-03 00:06:46 +00:00
mode: "production",
2020-01-31 10:17:26 +00:00
node: {
fs: "empty",
2020-01-31 10:17:26 +00:00
},
output: {
filename: "dist/bundle.js",
2020-01-31 10:17:26 +00:00
},
resolve: {
extensions: [".ts", ".js"],
2020-01-31 10:17:26 +00:00
},
module: {
rules: [{test: /\.ts$/, use: {loader: "ts-loader", options: {transpileOnly: true}}}],
},
optimization: {
// Disable minification for better debugging on Karma tests
minimize: false,
},
devtool: "source-map",
};