Skip to content
This repository has been archived by the owner on Nov 1, 2018. It is now read-only.

Babel builds only subdirs #5

Closed
Mottoweb opened this issue Dec 19, 2017 · 2 comments
Closed

Babel builds only subdirs #5

Mottoweb opened this issue Dec 19, 2017 · 2 comments

Comments

@Mottoweb
Copy link

Mottoweb commented Dec 19, 2017

Specifying src/**/*.js builds files only in subdirs.

PR #6

@jsynowiec
Copy link
Owner

jsynowiec commented Dec 22, 2017

Works for me - transpiles js files inside of the top src directory.

➜ npm run build

> babel src/**/*.js -d dist

src/main.js -> dist/src/main.js

@Mottoweb
Copy link
Author

Mottoweb commented Dec 22, 2017

Worked for me as well until i had a directory lets say, contollers, then files inside controllers would compile, while no files from src would.

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

No branches or pull requests

2 participants