-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: relocate dist/components to dist/atomic/components (#4859)
With the Lit adaptation layer, we need the components directory in the CDN files. However, we only deploy dist/atomic to the CDN with the current structure. Changing what we deploy to the CDN is the riskiest change because even if we support only a given # of entry points, there is no protection. NPM and exports have this level of protection, so instead, I used the "CDN" file structure as the immutable and changed things for NPM. https://coveord.atlassian.net/browse/KIT-3858
- Loading branch information
1 parent
3e9f466
commit d854df2
Showing
10 changed files
with
10 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
//@ts-ignore | ||
Check warning on line 1 in packages/atomic/src/autoloader/index.ts
|
||
//TODO: Simplify path to target some kind of index file? | ||
import searchElementMap from '../../components/components/search/lazy-index.js'; | ||
import searchElementMap from '../components/components/search/lazy-index.js'; | ||
|
||
if (typeof window !== 'undefined') { | ||
/** | ||
|
2 changes: 1 addition & 1 deletion
2
packages/atomic/src/components/commerce/atomic-commerce-query-error/e2e/fixture.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import './autoloader/index.esm.js'; | ||
|
||
export * from './_atomic.esm.js'; | ||
export * from '../components/components/lazy-index.js'; | ||
export * from './components/components/lazy-index.js'; |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import '../atomic/autoloader/index.esm.js'; | ||
|
||
export * from './_index.js'; | ||
export * as SearchComponentMap from '../components/components/search/lazy-index.js'; | ||
export * as SearchComponentMap from '../atomic/components/components/search/lazy-index.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters