summaryrefslogtreecommitdiffstats
path: root/webpack.config.js
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2018-12-08 12:39:18 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2018-12-08 12:39:18 +0100
commitb3950330e3351437f153c6c1debb3821d6e28864 (patch)
tree0b381b523045bd59cd679825a11976a45813fc24 /webpack.config.js
parent439dcf391784ea3abb61473c74b9c27fcd9fdc2d (diff)
downloadrpgedit-b3950330e3351437f153c6c1debb3821d6e28864.tar
rpgedit-b3950330e3351437f153c6c1debb3821d6e28864.zip
Create Electron app
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;
-};