Convert named alias to relative paths.
This seems to be having an issue with the current webpack config and the babel loader. We will fix the issue on another ticket MAILPOET-6215
This commit is contained in:
committed by
Oluwaseun Olorunsola
parent
632c381b73
commit
e8180fcbc5
@ -6,9 +6,9 @@ import {
|
||||
useEntitiesSavedStatesIsDirty,
|
||||
} from '@wordpress/editor';
|
||||
import { useEntityProp } from '@wordpress/core-data';
|
||||
import { MailPoetEmailData, storeName } from 'email-editor/engine/store';
|
||||
import { MailPoetEmailData, storeName } from '../../store';
|
||||
import { useSelect } from '@wordpress/data';
|
||||
import { useContentValidation } from 'email-editor/engine/hooks';
|
||||
import { useContentValidation } from '../../hooks';
|
||||
|
||||
export function SendButton() {
|
||||
const [mailpoetEmail] = useEntityProp(
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { __ } from '@wordpress/i18n';
|
||||
import { Notice, Button } from '@wordpress/components';
|
||||
import { useValidationNotices } from 'email-editor/engine/hooks';
|
||||
import { useValidationNotices } from '../../hooks';
|
||||
|
||||
export function ValidationNotices() {
|
||||
const { notices } = useValidationNotices();
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { useSelect } from '@wordpress/data';
|
||||
import { useState } from '@wordpress/element';
|
||||
import { storeName } from 'email-editor/engine/store';
|
||||
import { storeName } from '../../store';
|
||||
import { SelectTemplateModal } from './select-modal';
|
||||
|
||||
export function TemplateSelection() {
|
||||
|
@ -3,7 +3,7 @@ import { useCallback, useMemo } from '@wordpress/element';
|
||||
import { dispatch, useSelect, subscribe } from '@wordpress/data';
|
||||
import { store as blockEditorStore } from '@wordpress/block-editor';
|
||||
import { createBlock } from '@wordpress/blocks';
|
||||
import { storeName as emailEditorStore } from 'email-editor/engine/store';
|
||||
import { storeName as emailEditorStore } from '../store';
|
||||
import { store as coreDataStore } from '@wordpress/core-data';
|
||||
import { useShallowEqual } from './use-shallow-equal';
|
||||
import { useValidationNotices } from './use-validation-notices';
|
||||
|
@ -3,9 +3,6 @@
|
||||
"include": ["src/**/*", "src/**/*.json"],
|
||||
"compilerOptions": {
|
||||
"rootDir": "src",
|
||||
"outDir": "build-types",
|
||||
"paths": {
|
||||
"email-editor/*": ["./src/*"]
|
||||
}
|
||||
"noEmit": true
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user