summaryrefslogtreecommitdiffstats
path: root/webpack.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js38
1 files changed, 0 insertions, 38 deletions
diff --git a/webpack.config.js b/webpack.config.js
deleted file mode 100644
index cb4dd34..0000000
--- a/webpack.config.js
+++ /dev/null
@@ -1,38 +0,0 @@
-const path = require('path');
-
-module.exports = (env, argv) => {
- let config = {
- entry: './src/index.ts',
- devServer: {
- contentBase: './dist'
- },
- module: {
- rules: [
- {
- test: /\.ts$/,
- use: 'ts-loader',
- exclude: /node_modules/
- },
- {
- test: /\.(vs|fs)$/,
- use: [
- 'raw-loader'
- ]
- }
- ]
- },
- resolve: {
- extensions: [ ".ts", ".js" ]
- },
- output: {
- filename: 'bundle.js',
- path: path.resolve(__dirname, 'dist')
- },
- };
-
- if (argv.mode === 'development') {
- config.devtool = 'eval-source-map';
- }
-
- return config;
-};