comparison webpack-dev.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 a668a774b162
comparison
equal deleted inserted replaced
2:6cd3aaf431b6 3:a7ba8627a7b6
3 3
4 const config: webpack.Configuration = { 4 const config: webpack.Configuration = {
5 mode: "development", 5 mode: "development",
6 entry: [ 6 entry: [
7 './src/streamed-graph.ts', 7 './src/streamed-graph.ts',
8 './src/streamed_graph_client.ts',
9
8 './src/streamed-graph.css' // doesn't emit anything 10 './src/streamed-graph.css' // doesn't emit anything
9 ], 11 ],
10 output: { 12 output: {
11 filename: 'streamed-graph.bundle.js', 13 filename: 'streamed-graph.bundle.js',
12 path: path.resolve(__dirname, 'build') 14 path: path.resolve(__dirname, 'build')