Skip to content

Conversation

@zckrs
Copy link
Collaborator

@zckrs zckrs commented Jun 30, 2015

injectScript only depend if jsPrepro is used
If jsPrepro we use the .tmp folder

@Swiip
Copy link
Owner

Swiip commented Jun 30, 2015

I was considering that when you choose Coffee for example you can still have JS sources, both will work. The change that you make will break this.

What was the problem with the original conf?

@zckrs
Copy link
Collaborator Author

zckrs commented Jun 30, 2015

The orignal problem is we inject spec.js in the src folder instead of .tmp folder.

Mixed Coffee and JS is a common case in project ?

@Swiip
Copy link
Owner

Swiip commented Jun 30, 2015

Yep, at least it "was"

@Swiip
Copy link
Owner

Swiip commented Jul 1, 2015

Is it not possible to keep the possibility excluding the spec.js files?

Mehdy Dara added 2 commits July 2, 2015 11:50
* plain JS: inject files in `src` folder and exclude `*.spec.js`
* Coffescript: inject generate JS files in `.tmp` folder and exclude `*.spec.js` && inject plain JS files in `src` and exclude `*.spec.js`
* ES6/TS: inject only `index.module.js` present in `.tmp` folder
@zckrs
Copy link
Collaborator Author

zckrs commented Jul 2, 2015

Done

@Swiip
Copy link
Owner

Swiip commented Jul 8, 2015

👍

Swiip added a commit that referenced this pull request Jul 8, 2015
@Swiip Swiip merged commit 2756ff3 into Swiip:master Jul 8, 2015
@zckrs zckrs deleted the fix-inject-script branch September 9, 2015 07:47
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

Successfully merging this pull request may close these issues.

2 participants