Created
September 10, 2019 14:32
-
-
Save kossnocorp/c1ae2063de38fbe92fe09425cd7af805 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/tsconfig.json b/tsconfig.json | |
index 42d6d90..b64255d 100644 | |
--- a/tsconfig.json | |
+++ b/tsconfig.json | |
@@ -1,7 +1,7 @@ | |
{ | |
"compilerOptions": { | |
/* Basic Options */ | |
- "target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */ | |
+ "target": "es2015", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */ | |
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ | |
// "lib": [], /* Specify library files to be included in the compilation. */ | |
"allowJs": false, /* Allow javascript files to be compiled. */ | |
diff --git a/webpack.config.js b/webpack.config.js | |
index 8ccbc94..1419137 100644 | |
--- a/webpack.config.js | |
+++ b/webpack.config.js | |
@@ -3,7 +3,7 @@ const path = require('path'); | |
const config = { | |
entry: './src/index.js', | |
- mode: 'development', | |
+ mode: 'production', | |
stats: 'verbose', | |
output: { | |
path: path.resolve(__dirname, 'dist'), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment