Rename frontend.tsx file to frontend.ts

The file doesn't use any jsx syntax.
[MAILPOET-3920]
This commit is contained in:
Rostislav Wolny
2021-11-11 13:27:14 +01:00
committed by Veljko V
parent 25c96f8080
commit 47423f2e22
2 changed files with 1 additions and 2 deletions

View File

@@ -1,7 +1,6 @@
/** /**
* External dependencies * External dependencies
*/ */
/* eslint-disable react/react-in-jsx-scope */
import { registerCheckoutBlock } from '@woocommerce/blocks-checkout'; import { registerCheckoutBlock } from '@woocommerce/blocks-checkout';
/** /**

View File

@@ -448,7 +448,7 @@ const marketingOptinBlock = Object.assign({}, wpScriptConfig, {
'marketing-optin-block-frontend': path.resolve( 'marketing-optin-block-frontend': path.resolve(
process.cwd(), process.cwd(),
'assets/js/src/marketing_optin_block', 'assets/js/src/marketing_optin_block',
'frontend.tsx' 'frontend.ts'
), ),
}, },
output: { output: {