Mercurial > code > home > repos > streamed-graph
comparison webpack.config.ts @ 0:a9bc14e22e36
start
author | drewp@localhost |
---|---|
date | Tue, 03 Dec 2019 21:27:52 -0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:a9bc14e22e36 |
---|---|
1 import path from "path"; | |
2 import webpack from 'webpack'; | |
3 | |
4 const config: webpack.Configuration = { | |
5 mode: "production", | |
6 entry: './src/streamed-graph.ts', | |
7 output: { | |
8 filename: 'streamed-graph.bundle.js', | |
9 path: path.resolve(__dirname, 'build') | |
10 }, | |
11 module: { | |
12 rules: [ | |
13 { test: /\.ts$/, use: 'ts-loader', exclude: /node_modules/ }, | |
14 ] | |
15 } | |
16 }; | |
17 | |
18 export default config; |