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

18 lines
315 B
JavaScript

module.exports = {
entry: "./src/index.ts",
mode: "production",
node: {
fs: "empty"
},
output: {
filename: "dist/bundle.js"
},
resolve: {
extensions: [".ts", ".js"]
},
module: {
rules: [
{test: /\.ts$/, use: {loader: "ts-loader", options: {transpileOnly: true}}}
]
}
};