forked from DigiLive/mushroom-strategy
Refactor tool configurations
This commit is contained in:
7 files changed
+124
-41
No files matched your search
+8
-11
@@ -4,24 +4,21 @@ import path from 'path';
|
||||
import webpack from 'webpack';
|
||||
|
||||
const config: webpack.Configuration = {
|
||||
entry: "./src/mushroom-strategy.ts",
|
||||
mode: "development",
|
||||
devtool: "source-map",
|
||||
mode: 'development',
|
||||
entry: './src/mushroom-strategy.ts',
|
||||
output: {
|
||||
filename: "mushroom-strategy.js",
|
||||
path: path.resolve(__dirname, "dist"),
|
||||
filename: 'mushroom-strategy.js',
|
||||
path: path.resolve(__dirname, 'dist'),
|
||||
},
|
||||
devtool: 'source-map',
|
||||
resolve: {
|
||||
extensions: [".ts", ".tsx", ".js"],
|
||||
},
|
||||
optimization: {
|
||||
minimize: false,
|
||||
extensions: ['.ts', '.js'],
|
||||
},
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.tsx?$/,
|
||||
use: "ts-loader",
|
||||
test: /\.ts$/,
|
||||
use: 'ts-loader',
|
||||
exclude: /node_modules/,
|
||||
},
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user