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

Mixing compiled and non-compiled sources. #6

Open
uiteoi opened this issue Nov 1, 2013 · 1 comment
Open

Mixing compiled and non-compiled sources. #6

uiteoi opened this issue Nov 1, 2013 · 1 comment

Comments

@uiteoi
Copy link

uiteoi commented Nov 1, 2013

Handle non-compiled sources mixed with compiled sources to generate the output JavaScript and source map.

This could be done by checking the extension of individual input files or when an input file is not recognized as a source map.

In the following example, input2 is a non-compiled JavaScript source:

var cat = require('mapcat').cat;
cat(['input1.map', 'input2.js', 'input3.map'], 'output.js', 'out.map');
@mahnunchik
Copy link

+1

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