feat: implement phase one iceberg build tool
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
<!doctype html>
|
||||
<html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>Iceberg + Frost</title></head><body><main id="app" class="frost-container"><h1>Frost</h1></main><script type="module" src="/src/main.js"></script></body></html>
|
||||
Generated
+22
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"name": "iceberg-frost-example",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "iceberg-frost-example",
|
||||
"dependencies": {
|
||||
"@fretuks/frost": "file:../../../../WebstormProjects/Frost"
|
||||
}
|
||||
},
|
||||
"../../../Frost": {
|
||||
"name": "@fretuks/frost",
|
||||
"version": "0.3.0",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@fretuks/frost": {
|
||||
"resolved": "../../../Frost",
|
||||
"link": true
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{ "name": "iceberg-frost-example", "private": true, "type": "module", "dependencies": { "@fretuks/frost": "file:../../../../WebstormProjects/Frost" }, "scripts": { "build": "iceberg build" } }
|
||||
@@ -0,0 +1,2 @@
|
||||
import '@fretuks/frost';
|
||||
document.querySelector('#app').dataset.built = 'true';
|
||||
@@ -0,0 +1,5 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>Iceberg Vanilla</title></head>
|
||||
<body><main id="app"></main><script type="module" src="/src/main.js"></script></body>
|
||||
</html>
|
||||
@@ -0,0 +1 @@
|
||||
{ "name": "iceberg-vanilla-example", "private": true, "type": "module", "scripts": { "build": "iceberg build" } }
|
||||
@@ -0,0 +1 @@
|
||||
.card { padding: 2rem; }
|
||||
@@ -0,0 +1,3 @@
|
||||
import './style.css';
|
||||
import { message } from './utils.js';
|
||||
document.querySelector('#app').textContent = message;
|
||||
@@ -0,0 +1,2 @@
|
||||
@import './components/card.css';
|
||||
body { margin: 0; font-family: system-ui, sans-serif; }
|
||||
@@ -0,0 +1 @@
|
||||
export const message = 'Built with Iceberg';
|
||||
Reference in New Issue
Block a user