slimjs / slim.js

Fast & Robust Front-End Micro-framework based on modern standards

Home Page:http://slimjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Non-minified package distribution

jbruni opened this issue · comments

@eavichay Hey, man! Thanks for your brilliant work!

Using Chrome Dev Tools, the Slim class appears as u

u?

I found that this is because, even though I'm using a stack with npm, vite, esbuild, rollup... the import { Slim } from 'slim-js' actually brings in the code from the minified index.js at node_modules/slim-js/dist/index.js

😱

Could you please let the src folder intact in the package exports? So I can import from slim-js/src or, really, any other file on it?

From your README:

 It also provides access to it's internals, if you want to hack things out.

This is great! If it can also provide the non-minified internals for us, mere mortals, it will become even greater!

Thank you very much. 🙇

Done. c04cc04
Published with 5.0.9