aleman 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,8 @@
1
+ export const importmap = {
2
+ imports: {
3
+ 'putout': 'https://esm.sh/@putout/bundle',
4
+ '@putout/processor-html': 'https://esm.sh/@putout/processor-html@14.1.1',
5
+ 'fullstore': 'https://esm.sh/fullstore',
6
+ },
7
+ };
8
+
package/menu/menu.js CHANGED
@@ -7,7 +7,7 @@ export const createMenu = async (element, options, menuData) => {
7
7
  await createLink();
8
8
 
9
9
  createStateElement();
10
- const {hydrateMenu} = await import('./hydrate-menu.js');
10
+ const {hydrateMenu} = await import('./hydrate-menu.js?module');
11
11
 
12
12
  hydrateMenu(hydrateElement, options, menuData);
13
13
  };
@@ -46,11 +46,7 @@ function createStateElement() {
46
46
  }
47
47
 
48
48
  async function createMap() {
49
- const {default: importmap} = await import('./importmap.json?module', {
50
- with: {
51
- type: 'json',
52
- },
53
- });
49
+ const {importmap} = await import('./importmap.js?module');
54
50
 
55
51
  const script = document.createElement('script');
56
52
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aleman",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "type": "module",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "🐊Putout-based framework for web",
@@ -1,9 +0,0 @@
1
- {
2
- "imports": {
3
- "putout": "https://esm.sh/@putout/bundle",
4
- "@putout/processor-html": "https://esm.sh/@putout/processor-html@14.1.1",
5
- "html-escaper": "https://esm.sh/html-escaper",
6
- "once": "https://esm.sh/once",
7
- "fullstore": "https://esm.sh/fullstore"
8
- }
9
- }