Mercurial > code > home > repos > streamed-graph
view webpack.config.ts @ 1:5381c2a551d5
hgignore
author | drewp@bigasterisk.com |
---|---|
date | Tue, 03 Dec 2019 21:46:43 -0800 |
parents | a9bc14e22e36 |
children |
line wrap: on
line source
import path from "path"; import webpack from 'webpack'; const config: webpack.Configuration = { mode: "production", entry: './src/streamed-graph.ts', output: { filename: 'streamed-graph.bundle.js', path: path.resolve(__dirname, 'build') }, module: { rules: [ { test: /\.ts$/, use: 'ts-loader', exclude: /node_modules/ }, ] } }; export default config;