forked from lemanschik/web-modules
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
They use 2 integrations as they need to supply inital dependencies to the internal loader
funny thing they implemented web modules but they forgotten the integrity part which is importent.
@stackblitz/sdk
const PACKAGE_JSON = {
name: 'cool-project',
version: '0.0.0',
private: true,
dependencies: {
gsap: '^3.11.0',
jquery: '^3.6.0',
lodash: '^4.17.21',
},
};
const project = {
title: 'My cool project',
description: 'Example animation project',
template: 'javascript',
// REQUIRED: specify dependencies
dependencies: PACKAGE_JSON.dependencies,
files: {
// Recommended: provide a package.json file with the same dependencies
'package.json': JSON.stringify(PACKAGE_JSON, null, 2),
'index.html': '<h1>Hello world!</h1>',
'index.js': 'import gsap from "gsap";\n// etc.',
},
};
thats why they are working on a web-container api they think they can keep the loader infrastructure internal.
Metadata
Metadata
Assignees
Labels
No labels