Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.

Preserve folder structure during build #719

Merged
merged 1 commit into from
Jul 31, 2018
Merged

Conversation

farism
Copy link
Contributor

@farism farism commented Jul 31, 2018

Fixes #717

By default babel only copies *.js files when passing in a whole directory. Instead of globbing for *.js files, just pass the entire sourceDir as input and configure babel to also ignore node_modules. This should preserve the folder structure.

I went to remove glob as a dep but couldn't find it listed as a dependency anywhere.

@istarkov istarkov merged commit 7f245ec into acdlite:master Jul 31, 2018
@istarkov
Copy link
Contributor

Thank you

@barbalex
Copy link

is it possible to quickly build a new npm version so people don't stumble over this when updating?

@barbalex
Copy link

Weird thing is: This page does not have v28 in the releases. But v28 is latest on npm and that is what you get installed - which then errors.

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

Successfully merging this pull request may close these issues.

3 participants