mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
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:
committed by
GitHub
parent
59431ce516
commit
395eb9427e
@@ -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',
|
||||
},
|
||||
};
|
||||
|
||||
@@ -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',
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user