Mercurial > code > home > repos > streamed-graph
view webpack.config.ts @ 3:a7ba8627a7b6
still trying to make imports work. add other files too
author | drewp@bigasterisk.com |
---|---|
date | Wed, 04 Dec 2019 00:09:15 -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;