Skip to content

Commit c8d50c2

Browse files
committed
Refactor: Remove last remnants of dev importmap
1 parent d8f34d8 commit c8d50c2

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

.github/workflows/cdn-deploy.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -235,19 +235,9 @@ jobs:
235235
# Run the importmap generation script
236236
node scripts/helpers/generate-importmap.js
237237
238-
# Create development importmap
239-
node scripts/helpers/create-dev-importmap.js
240-
241238
# Copy the enhanced importmap loader to CDN root
242239
cp scripts/helpers/importmap-loader.js cdn/importmap.js
243240
244-
# Create development loader
245-
node scripts/helpers/create-dev-loader.js
246-
247-
# Copy the development importmap loader to CDN root
248-
cp scripts/helpers/importmap-dev-loader.js cdn/importmap-dev.js
249-
250-
251241
###------------------------------------###
252242
### Add Redirects for latest ###
253243
###------------------------------------###

docs/src/pages/test.astro

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,14 @@ import { TestComponent } from '@components/Test/component.js';
99
<script type="importmap">
1010
{
1111
"imports": {
12-
"@semantic-ui/component": "https://cdn.semantic-ui.com/@semantic-ui/component/0.10.6-test7/src/index.js"
12+
"@semantic-ui/core": "https://cdn.semantic-ui.com/@semantic-ui/core/0.10.6/index.js",
13+
"@semantic-ui/component": "https://cdn.semantic-ui.com/@semantic-ui/component/0.10.6/dist/browser/index.min.js",
14+
"@semantic-ui/query": "https://cdn.semantic-ui.com/@semantic-ui/query/0.10.6/dist/browser/index.min.js",
15+
"@semantic-ui/reactivity": "https://cdn.semantic-ui.com/@semantic-ui/reactivity/0.10.6/dist/browser/index.min.js",
16+
"@semantic-ui/renderer": "https://cdn.semantic-ui.com/@semantic-ui/renderer/0.10.6/dist/browser/index.min.js",
17+
"@semantic-ui/specs": "https://cdn.semantic-ui.com/@semantic-ui/specs/0.10.6/dist/browser/index.min.js",
18+
"@semantic-ui/templating": "https://cdn.semantic-ui.com/@semantic-ui/templating/0.10.6/dist/browser/index.min.js",
19+
"@semantic-ui/utils": "https://cdn.semantic-ui.com/@semantic-ui/utils/0.10.6/dist/browser/index.min.js"
1320
}
1421
}
1522
</script>

0 commit comments

Comments
 (0)