Set bundler and cjs targets of sdk-js and format-title to es2018 (#3646)

* Set bundler and cjs targets of sdk-js to es2018

* Set bundler and cjs targets of format-title to es2018
This commit is contained in:
Nicola Krumschmidt
2021-02-01 21:03:33 +01:00
committed by GitHub
parent 59431ce516
commit 395eb9427e
2 changed files with 4 additions and 4 deletions

View File

@@ -27,13 +27,13 @@ const configs = {
bundler: {
file: pkg.module,
format: 'es',
target: 'esnext',
target: 'es2018',
mode: 'development',
},
cjs: {
file: pkg.main,
format: 'cjs',
target: 'esnext',
target: 'es2018',
mode: 'development',
},
};

View File

@@ -28,13 +28,13 @@ const configs = {
bundler: {
file: pkg.module,
format: 'es',
target: 'es2015',
target: 'es2018',
mode: 'development',
},
cjs: {
file: pkg.main,
format: 'cjs',
target: 'esnext',
target: 'es2018',
mode: 'development',
},
};