@soundstep/soma
Version:
Soma is a javascript framework created to build scalable and maintainable applications.
34 lines (23 loc) • 535 B
Markdown
# Test imports
All commands should be executed from the root.
```
npm install -g live-server
npm install webpack
npm install webpack-cli
```
## browser (bundle)
```
live-server . --open=examples/usage/browser
```
## cjs (with Node)
node examples/usage/cjs/index.js
## cjs (with Webpack)
```
npm install webpack webpack-cli
webpack --mode production examples/usage/esm/src/main.js --output examples/usage/esm/dist/main.js
live-server . --open=examples/usage/esm/dist
```
## AMD
```
live-server . --open=examples/usage/amd
```