This commit is contained in:
Albert Juhé Lluveras 2021-03-09 10:54:38 +01:00 committed by GitHub
parent aa8e19b12e
commit 29dd816e1d
2 changed files with 2 additions and 3 deletions

View File

@ -12,7 +12,7 @@ const {
getMainConfig,
getStylingConfig,
} = require( '../bin/webpack-configs.js' );
const tsConfig = require( '../tsconfig.json' );
const tsConfig = require( '../tsconfig.base.json' );
const aliases = Object.keys( tsConfig.compilerOptions.paths ).reduce(
( acc, key ) => {

View File

@ -6,10 +6,8 @@
"baseUrl": ".",
"module": "esnext",
"emitDeclarationOnly": true,
// Import non-ES modules as default imports.
"esModuleInterop": true,
"resolveJsonModule": true,
// Preserve JSX, allows compatibility with wp-element jsx babel transforms
"jsx": "preserve",
"target": "esnext",
"allowJs": true,
@ -41,6 +39,7 @@
"@woocommerce/block-hocs": [ "assets/js/hocs" ],
"@woocommerce/blocks-registry": [ "assets/js/blocks-registry" ],
"@woocommerce/blocks-checkout": [ "packages/checkout" ],
"@woocommerce/price-format": [ "packages/prices" ],
"@woocommerce/block-settings": [ "assets/js/settings/blocks" ],
"@woocommerce/e2e-tests": [ "node_modules/woocommerce/tests/e2e" ],
"@woocommerce/icons": [ "assets/js/icons" ],