Setup a minifier in build
saurabhdaware opened this issue · 2 comments
saurabhdaware commented
Currently, build/build.main.js
only copy pastes content from src to dist and creates index.js for the entry point in ES6 imports. It would be better if we could minify card.component.mjs
and card.style.mjs
during the build.
saurabhdaware commented
Working on this.
saurabhdaware commented
v1.1.0 onwards you can use card.component.min.mjs
from <script src="https://unpkg.com/dev-widget@1.1.0/dist/card.component.min.mjs" type="module"></script>