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.
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: {
|
2020-12-02 23:36:58 +00:00
|
|
|
fs: "empty",
|
2020-01-31 10:17:26 +00:00
|
|
|
},
|
|
|
|
output: {
|
2020-12-02 23:36:58 +00:00
|
|
|
filename: "dist/bundle.js",
|
2020-01-31 10:17:26 +00:00
|
|
|
},
|
|
|
|
resolve: {
|
2020-12-02 23:36:58 +00:00
|
|
|
extensions: [".ts", ".js"],
|
2020-01-31 10:17:26 +00:00
|
|
|
},
|
|
|
|
module: {
|
2020-12-02 23:36:58 +00:00
|
|
|
rules: [{test: /\.ts$/, use: {loader: "ts-loader", options: {transpileOnly: true}}}],
|
|
|
|
},
|
|
|
|
optimization: {
|
|
|
|
// Disable minification for better debugging on Karma tests
|
|
|
|
minimize: false,
|
|
|
|
},
|
|
|
|
devtool: "source-map",
|
|
|
|
};
|