rc-tools icon indicating copy to clipboard operation
rc-tools copied to clipboard

How to support babel-runtime

Open NexxLuo opened this issue 7 years ago • 1 comments

I check the source code found that can support babel-runtime. but how to set the options in packgage.json?

image

NexxLuo avatar Aug 13 '18 08:08 NexxLuo

you can set it by add '--babel-runtime' arg to run script package.json e.g. { ... "script": { "start": "rc-tools run server --babel-runtime", ... } }

LayGit avatar Dec 28 '18 15:12 LayGit