2022-03-09 16:27:49 +01:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
module.exports = () => ({
|
|
|
|
compilerOptions: {
|
2022-03-15 18:43:19 +01:00
|
|
|
lib: ['es2019', 'es2020.promise', 'es2020.bigint', 'es2020.string', 'DOM'],
|
2022-03-09 16:27:49 +01:00
|
|
|
module: 'commonjs',
|
|
|
|
target: 'es2019',
|
|
|
|
strict: false,
|
2022-03-15 18:43:19 +01:00
|
|
|
jsx: 'react',
|
2022-03-09 16:27:49 +01:00
|
|
|
noImplicitAny: false,
|
|
|
|
esModuleInterop: true,
|
|
|
|
skipLibCheck: true,
|
|
|
|
forceConsistentCasingInFileNames: true,
|
|
|
|
allowJs: true,
|
|
|
|
outDir: 'dist',
|
|
|
|
rootDir: '.',
|
|
|
|
noEmitOnError: true,
|
2022-03-15 18:43:19 +01:00
|
|
|
resolveJsonModule: true,
|
2022-03-09 16:27:49 +01:00
|
|
|
},
|
|
|
|
|
2022-03-15 18:43:19 +01:00
|
|
|
include: ['src/**/*.json', './'],
|
|
|
|
exclude: ['node_modules/', 'build/', 'dist/', 'src/admin', '.cache/', '.tmp/'],
|
2022-03-09 16:27:49 +01:00
|
|
|
});
|