outpostHQ / numl

Atomic UI Framework based on Web Components and Runtime CSS Generation for rapidly building interfaces that follow your Design System 🌈
https://numl.design
MIT License
337 stars 16 forks source link

Standalone minified version? #98

Closed caracal7 closed 4 years ago

caracal7 commented 4 years ago

As ES module

tenphi commented 4 years ago

Hi! What are you trying to achieve exactly? Install numl as npm package and you will get a standalone minified ES version. Then import it into your app.

import 'numl';
caracal7 commented 4 years ago

In one of my projects Im using not regular bundler that does not support every npm module. But usually I don't have problems with standalone modules.

tenphi commented 4 years ago

Clone the repo.

$ npm i
$ npm run build

Then you will have a standalone minified ES version in the dist dir. There are many files in that dir. You need all of them.