blocks/blocks

How to compile files to dist?

Closed this issue ยท 0 comments

Hey ๐Ÿ‘‹

silly question: what's the command to run to recompile the dist folder?

I tried:

babel src --out-dir dist --presets=@babel/react,@babel/preset-env

but it results in an Unexpected export specifier type error. Also, I think adding a build script to the package.json file could help.

Thanks!