diff --git a/package.json b/package.json index 852e5a0..7428c6c 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "scripts": { "clean": "rm -rf dist", "dev": "NODE_ENV=development NODE_OPTIONS=--max-old-space-size=8192 rm -rf dist && yarn ts-node ./node_modules/.bin/webpack serve --progress", - "build": "yarn clean && NODE_ENV=production yarn ts-node node_modules/.bin/webpack", + "build": "yarn clean && NODE_ENV=production NODE_OPTIONS=--max-old-space-size=4096 yarn ts-node node_modules/.bin/webpack", "build-dev": "yarn clean && yarn ts-node node_modules/.bin/webpack", "start": "yarn ts-node node_modules/.bin/webpack serve", "start-console": "./start-console.sh", diff --git a/webpack.config.ts b/webpack.config.ts index 0342b30..b75639c 100644 --- a/webpack.config.ts +++ b/webpack.config.ts @@ -57,6 +57,7 @@ const config: Configuration = { loader: 'ts-loader', options: { configFile: path.resolve(__dirname, 'tsconfig.json'), + transpileOnly: true, }, }, ],