Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

r.js -convert is not producing any output #992

Open
derMart opened this issue Sep 3, 2018 · 2 comments
Open

r.js -convert is not producing any output #992

derMart opened this issue Sep 3, 2018 · 2 comments

Comments

@derMart
Copy link

derMart commented Sep 3, 2018

Hi I tried to run

r.js -convert ./src/dir ./target/dir

There are js files in commonjs format in ./src/dir. The tool runs without any error / output in general, but after finishing the target dir is still empty.
I am trying to convert the produced dist folder of huozi.js

best

@derMart
Copy link
Author

derMart commented Sep 3, 2018

I just realized that the tool converted the files in place! This is unexpected, as the docs state:

Give it the path to the directory you want to convert and an output directory:
node r.js -convert path/to/commonjs/modules/ path/to/output

Please update the docs. Thanks

@jakraft
Copy link

jakraft commented Oct 21, 2020

I've encountered the same issue, though it looks like you're required to include an output path even though it doesn't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants